Solved

what app is using sockets

Posted on 2003-11-21
11
255 Views
Last Modified: 2010-05-01
I would like to know, in Windows (95 family or NT family) how can i, once i've got the TCP table or UDP table of my machine, asociate each socket with the app using it. for example:

i've got mirc runnig, and i run my app and it returns:
....        ........     .... (whatever)
local port:1090  ....... ......   ---> mirc.exe

 (solutions in vb6 or .net are wellcome :) thanks
0
Comment
Question by:RocketMan
11 Comments
 
LVL 9

Expert Comment

by:TooKoolKris
ID: 9800241
Go to this webpage and get the free program call FPort 2.0. When you run it it will tell you all of your current open ports and the exact .exe that is holding the socket.

http://www.foundstone.com/resources/intrusion_detection.htm
0
 
LVL 9

Expert Comment

by:TooKoolKris
ID: 9800248
Oh I forgot to mention that it runs on the command line so you can shell it out and retreive the std data from the window from inside your program.
0
 

Author Comment

by:RocketMan
ID: 9800387
i know that app, thaks.. but what i want is to code it myself :)
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 1

Expert Comment

by:anaadoul
ID: 9804995
maybe you can use the netstat.exe -nao
but the o parametre is only avalible in WINXP

---------------------------------
There Are 10 Kind OF People
Those Who Understands Binary AND Those Who Don't
0
 

Author Comment

by:RocketMan
ID: 9805591
ok guys i've found myself what i was looking for :) thaks anyway:

ths url is:
http://www.planet-source-code.com/URLSEO/vb/scripts/ShowCode!asp/txtCodeId!49563/lngWid!1/anyname.htm
0
 

Author Comment

by:RocketMan
ID: 9805592
em.. guys, does anybody know how do y ask for a PAQ/Refund? (no point for this question :))
0
 
LVL 6

Expert Comment

by:DominicCronin
ID: 9806310
Post  your request with a link to this topic in community support
0
 

Author Comment

by:RocketMan
ID: 9807281
thx dominicCronin
0
 

Accepted Solution

by:
SpazMODic earned 0 total points
ID: 9828466
PAQed, with points refunded (500)

SpazMODic
EE Moderator
0
 

Author Comment

by:RocketMan
ID: 9828489
thanks
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question