Moritz Armingeon
2007-09-11 20:43:31 UTC
Hello!
I'm running a webserver for a webservice. It's written in unmanaged C++. On
high a frequency of connections, maybe 20 per second, it becomes unstable.
accept() on a new client socket returns INVALID_SOCKET and WSAGetLastError()
returns 10038.
With lower frequencies, the webserver stays stable though. What could be the
cause of such an bevavior? Maybe local socket limitations? Netstat lists
many sockets in state TIMED_WAIT.
Regards, Moritz
I'm running a webserver for a webservice. It's written in unmanaged C++. On
high a frequency of connections, maybe 20 per second, it becomes unstable.
accept() on a new client socket returns INVALID_SOCKET and WSAGetLastError()
returns 10038.
With lower frequencies, the webserver stays stable though. What could be the
cause of such an bevavior? Maybe local socket limitations? Netstat lists
many sockets in state TIMED_WAIT.
Regards, Moritz