Link to home
Start Free TrialLog in
Avatar of RocketMan
RocketMan

asked on

what app is using sockets

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
Avatar of TooKoolKris
TooKoolKris

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
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.
Avatar of RocketMan

ASKER

i know that app, thaks.. but what i want is to code it myself :)
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
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
em.. guys, does anybody know how do y ask for a PAQ/Refund? (no point for this question :))
Post  your request with a link to this topic in community support
thx dominicCronin
ASKER CERTIFIED SOLUTION
Avatar of SpazMODic
SpazMODic

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks