Reputation: 1507
I have a strange problem - after my C++ application runs for 39 hours on Windows XP, the network is broken and the application fails. Seen that several times. When I try to "ping localhost
", the prompt says "no resources". I found this thread in Internet, where people advice to make "ipconfig
/renew
".
The thing is I just want to know, what actions (Windows API calls) causes that. I'm nearly 100% sure that the problem is in the network card (because the other card works well), but I just want to understand, what my actions cause that.
Unforunately, my application consists of megabytes of code, so I can't just uncomment a few lines to see if I can reproduce error now.
Is there any list of Windows API calls that are executed by network card driver? For instance, "sendto" is most likely executed by driver, because it sends data to network.
Is there any test (like Acid test for browsers), which can show if network driver does not behave correctly?
Upvotes: 1
Views: 7383
Reputation: 1
Make sure that your network card is updated with latest driver or re install the driver and then restart the machine once.
Upvotes: -1
Reputation: 112366
It kind of sounds like you've run out of sockets. Are you sure you're freeing the sockets once you've used them?
Upvotes: 2