Click here to Skip to main content
15,921,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHidden Pin
Georg Haan31-Aug-02 5:36
Georg Haan31-Aug-02 5:36 
GeneralRe: Hidden Pin
Chris Losinger31-Aug-02 7:12
professionalChris Losinger31-Aug-02 7:12 
GeneralDeleteing items from ListBox (SPEED problem) Pin
Hadi Rezaee31-Aug-02 5:29
Hadi Rezaee31-Aug-02 5:29 
GeneralRe: Deleteing items from ListBox (SPEED problem) Pin
BlackSmith31-Aug-02 5:44
BlackSmith31-Aug-02 5:44 
GeneralRe: Deleteing items from ListBox (SPEED problem) Pin
Dominik Reichl31-Aug-02 5:51
Dominik Reichl31-Aug-02 5:51 
Generalnetstat Pin
Kuniva31-Aug-02 4:42
Kuniva31-Aug-02 4:42 
GeneralRe: netstat Pin
Georg Haan31-Aug-02 5:28
Georg Haan31-Aug-02 5:28 
GeneralRe: netstat Pin
Masaaki Onishi31-Aug-02 6:23
Masaaki Onishi31-Aug-02 6:23 
Hello, the codegurus around the world.;)

Accroding as Network Programming for Microsoft Windows, P548,
The NETSTAT.EXE utility displays the TCP connection table, the UDP listener
table, and the IPv4 ptorocol statistics on your computer. The function used
to retrieve this information work with Windows NT 4.0 (SP 4 and later),
Windows 98, and Windows Me.

So, check the following functions.
DWORD GetTcpTable (
   PMIB_TCPTABLE pTcpTable,
   PDWORD pdwSize,
   BOOL bOrder
);

typedef struct _MIB_TCPTABLE
{
   DWORD dwNumEntries;
   MIB_TCPROW table[ANY_SIZE];
} MIB_TCPTABLE, *PMIB_TCPTABLE;

typedef struct _MIB_TCPROW
{
   DWORD dwState;
   DWORD dwLocalAddr;
   DWORD dwLocalPort;
   DWORD dwRemoteAddr;
   DWORD dwRemoteProt;
} MIB_TCPROW, *PMIB_TCPROW;

DWORD GetUdpTable (...), typedef struct _MIB_UDPTALBE, 
typedef stuct _MIB_UDPROW, DWORD GetIpStatistics(...)
typedef struct _MIB_IPSTATS...

Good Luck.Rose | [Rose]

Please, don't send me your email about your questions directly.
Have a nice day!
Sonork - 100.10571:vcdeveloper Wink | ;)

-Masaaki Onishi-


GeneralDebug Hangggs Pin
Paul Silvernail31-Aug-02 3:33
Paul Silvernail31-Aug-02 3:33 
GeneralRe: Debug Hangggs Pin
Gary R. Wheeler31-Aug-02 4:41
Gary R. Wheeler31-Aug-02 4:41 
GeneralRe: Debug Hangggs Pin
Paul Silvernail31-Aug-02 4:52
Paul Silvernail31-Aug-02 4:52 
GeneralRe: Debug Hangggs Pin
Gary R. Wheeler31-Aug-02 14:21
Gary R. Wheeler31-Aug-02 14:21 
GeneralRe: Debug Hangggs Pin
Navier1-Sep-02 12:47
Navier1-Sep-02 12:47 
GeneralRe: Debug Hangggs Pin
Navier1-Sep-02 12:58
Navier1-Sep-02 12:58 
GeneralRe: Bubble sort algorithm Pin
Vagif Abilov31-Aug-02 3:10
professionalVagif Abilov31-Aug-02 3:10 
GeneralError in DAO Pin
SamirSood31-Aug-02 1:52
SamirSood31-Aug-02 1:52 
Generalform, Internet Explorer protocols Pin
Kuniva31-Aug-02 1:34
Kuniva31-Aug-02 1:34 
GeneralRe: form, Internet Explorer protocols Pin
Stephane Rodriguez.31-Aug-02 4:55
Stephane Rodriguez.31-Aug-02 4:55 
GeneralCArray problem Pin
Zayax31-Aug-02 1:10
Zayax31-Aug-02 1:10 
GeneralRe: CArray problem Pin
Vagif Abilov31-Aug-02 2:40
professionalVagif Abilov31-Aug-02 2:40 
GeneralRe: CArray problem Pin
31-Aug-02 2:40
suss31-Aug-02 2:40 
GeneralRe: CArray problem Pin
Zayax31-Aug-02 4:44
Zayax31-Aug-02 4:44 
GeneralRe: CArray problem Pin
Vagif Abilov31-Aug-02 6:59
professionalVagif Abilov31-Aug-02 6:59 
GeneralRe: CArray problem Pin
Christian Graus31-Aug-02 13:59
protectorChristian Graus31-Aug-02 13:59 
GeneralRe: NULL hWnd for controls in dialog box Pin
BlackSmith31-Aug-02 5:48
BlackSmith31-Aug-02 5:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.