Is there a way that you can view which connections are open and closed through C? Im on Windows 2000 and would like to know when I become disconnected from different websites. Thanks ahead.
Printable View
Is there a way that you can view which connections are open and closed through C? Im on Windows 2000 and would like to know when I become disconnected from different websites. Thanks ahead.
system("netstat ...")
thanks. Is there a way to store the result to a variable instead of printing to a console?
I have the dlls, and the required libraries, and included IPhlprapi.h, and i still get an undefined reference to GetTcpTable when trying to link it. Any idea what could be wrong?Quote:
Originally Posted by anonytmouse
You have linked to the library Iphlpapi.lib? (not just included its header)
You also need to link to the library Iphlpapi.lib.
any idea how to do that?
Whats your compiler?