Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: 31 Jan 2006 11:01:50 -0800,    group: microsoft.public.platformsdk.networking        back       


How do I tell what programs are using what ports?   
I know various firewall software, including the one built into windows
XP can tell which application is using the network when it tries to
connect (and can restrict on access).  Is there any way to tell which
application (and what PID) is using a specific port?  Can I hook
something in the system to get notified when a program opens a
connection? 

It must be possible, but how?
date: 31 Jan 2006 11:01:50 -0800   author:   chad

Re: How do I tell what programs are using what ports?   
chad wrote:
> I know various firewall software, including the one built into windows
> XP can tell which application is using the network when it tries to
> connect (and can restrict on access).  Is there any way to tell which
> application (and what PID) is using a specific port?  Can I hook
> something in the system to get notified when a program opens a
> connection?
>
> It must be possible, but how?

This has been asked numerous times on win32.programmer.networks group. 
Google it to find the answers. Also note that win32.programmer.networks is 
the place to ask such questions. This group is not really visited anymore.


-- 
Eugene
http://www.gershnik.com
date: Tue, 31 Jan 2006 11:23:57 -0800   author:   Eugene Gershnik

Re: How do I tell what programs are using what ports?   
Why , you are here and some others too :) ?!
Many years ago ( 5- 6 ) MS wanted to remove it,
but still guys continue to ask here the questions
and receive the answers ( I really don't know if sufficient :) )
Arkady

"Eugene Gershnik"  wrote in message 
news:esP3ivpJGHA.3896@TK2MSFTNGP15.phx.gbl...
> chad wrote:
>> I know various firewall software, including the one built into windows
>> XP can tell which application is using the network when it tries to
>> connect (and can restrict on access).  Is there any way to tell which
>> application (and what PID) is using a specific port?  Can I hook
>> something in the system to get notified when a program opens a
>> connection?
>>
>> It must be possible, but how?
>
> This has been asked numerous times on win32.programmer.networks group. 
> Google it to find the answers. Also note that win32.programmer.networks is 
> the place to ask such questions. This group is not really visited anymore.
>
>
> -- 
> Eugene
> http://www.gershnik.com
>
>
date: Wed, 1 Feb 2006 16:30:14 +0200   author:   Arkady Frenkel

Re: How do I tell what programs are using what ports?   
In XP you have AllocateAndGetTcpExTableFromStack()
documented :) in http://www.sysinternals.com/files/netstatp.zip
In OS you see that with "netstat -o"
Arkady

"chad"  wrote in message 
news:1138734110.467569.4940@g44g2000cwa.googlegroups.com...
>I know various firewall software, including the one built into windows
> XP can tell which application is using the network when it tries to
> connect (and can restrict on access).  Is there any way to tell which
> application (and what PID) is using a specific port?  Can I hook
> something in the system to get notified when a program opens a
> connection?
>
> It must be possible, but how?
>
date: Wed, 1 Feb 2006 16:39:32 +0200   author:   Arkady Frenkel

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us