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.
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.
thanks. Is there a way to store the result to a variable instead of printing to a console?
Last edited by maththeorylvr; 04-29-2005 at 08:44 PM.
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?Originally Posted by anonytmouse
You have linked to the library Iphlpapi.lib? (not just included its header)
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
You also need to link to the library Iphlpapi.lib.
any idea how to do that?