Hello, I have implemented a server that accepts web method calls. When a client (that I have also implemented) calls the web method there is a socket in the server left in TIME_WAIT state.
The server is running on Windows XP. I know that I can modify the parameter "TcpTimedWaitDelay" of the registry but I want to avoid this programmatically. I have tried to enable SO_LINGER both in server and client but the socket is left in TIME_WAIT state. In order to enable SO_LINGER in the server I do "pSoap->accept_flags |= SO_LINGER;" before calling "soap_accept". In order to enable SO_LINGER in the client I do "ws.soap->connect_flags |= SO_LINGER" before calling my web method. Do you have any clue about what I'm doing wrong? Thanks! Nalo
