I have been able to connect to a server using Winsock, and I can send & receive data just fine.

The problem, however, is that after the remote host closes the connection, my Winsock.State goes to 8, Closing, but never gets to 0, Closed.

Am I missing something? I can't force the state to closed, but if it never actually closes, my program errors out when I try to re-connect.

Any help is appreciated.

Thanks!!