Win2008 UDP sockets throw WSAENETRESET error after some minutes working fine.
I'm facing a problem with the use of UDP sockets running on a Windows Server 2008 R2 Standard 64 bits (processor is Dual-Core).
Two different software modules, one writen in VC++ 6.0, the other writen in Java, get the same error:
"10052: WSAENETRESET: The connection must be reset because the Windows Sockets implementation dropped it."
We don't get the error inmediately, but after a while, after some minutes running, after tens or even hundreds of messages have been sent and received through that UDP socket.
The fact that the error is thrown in different software modules, writen by different developers, in so different languages, make me think that the problem is not code related, but Win2008 UDP sockets environment configuration.... Something probably related to some variable in the Windows Registry... some parameter, some security policy...
In fact we have installations on other Win2008 that are running OK. Also on Win2000, 2003, even XPs.
There is no antivirus software running on the server, neither any third party firewall.
On VC++ code, WSAIoctl is invoked to avoid this well known problem: http://support.microsoft.com/kb/263823/en-us:
Re: Win2008 UDP sockets throw WSAENETRESET error after some minutes working fine.
Any event log entries?
Are your network interfaces configured correctly to work with your other network gear? Duplex, speed, teaming, etc.
Last edited by Craig Gemmill; November 26th, 2010 at 09:39 AM.
Good Luck, Craig - CRG IT Solutions - Microsoft Gold Partner
-My posts after 02/2010 = .NET 4.0 and Visual Studio 2010
-My posts after 12/2007 = .NET 3.5 and Visual Studio 2008
-My posts after 04/2007 = .NET 3.0 and Visual Studio 2005
-My posts before 04/2007 = .NET 1.1/2.0 *VB.NET Tutorials , HowTos , Books , Helpful Links: Click Here *I do not follow threads, so if you have a secondary question, message me.