TCP Server doesn't accept new connections on Windows 2003

Hi All,

My TCP server that listens to a custom port is not accepting new connections after some time. At this moment, its functioning properly with all clients already connected. The connect() from a new client is successfully returned and when the client tries to do some send or receive on this socket, it fails with socket error 10054 (An existing connection was forcibly closed by the remote host). This problem happens on Windows server 2003, while the same .exe is working well on Windows XP.

When I captured the TCP packets using a packet capturing tool, it is found that the server sends a packet with RST flag set, immediately after the successful three way handshaking.

What may be going wrong on Windows Server 2003 ? Is this anything related to TCP parameter settings ? Please help me.

Thanks in advance..

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!