netstat -b
netstat -b
netstat -b
netstat -b
netstat -b
netstat -b netstat -b netstat -b netstat -b netstat -b netstat -b netstat -b netstat -b
netstat -b netstat -b
netstat -b
Go Back  Xtreme Visual Basic Talk > > > netstat -b


Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2010, 07:38 AM
SCT_NSKY SCT_NSKY is offline
Freshman
 
Join Date: Dec 2003
Location: Sweden
Posts: 45
Default netstat -b


Im using GetTcpTable to list all the connections on my computer, but can get the
program that are using the port like in "netstat -b"?
Reply With Quote
  #2  
Old 07-25-2010, 09:39 AM
Cerian Knight's Avatar
Cerian Knightnetstat -b Cerian Knight is offline
Polymath (in disciplina)

Super Moderator
* Expert *
 
Join Date: May 2004
Location: Michigan
Posts: 4,200
Default

To get the PID of the connection requires the use of undocumented functions in iphlpapi.dll. Here are some links that might help:
http://vbcity.com/forums/t/36142.aspx
http://www.codeguru.com/forum/showthread.php?t=373902
http://www.codeguru.com/forum/showthread.php?t=188092 (this one is supposedly fully functional... but in C)
__________________
I got all the answers wrong on the GLAT, apparently even #9 (where I put a period in the middle of the box and labeled it 'singularity ripe for rapid inflation').
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
netstat -b
netstat -b
netstat -b netstat -b
netstat -b
netstat -b
netstat -b netstat -b netstat -b netstat -b netstat -b netstat -b netstat -b
netstat -b
netstat -b
 
netstat -b
netstat -b
 
-->