Hello guys!, Could anyone tell me how can I flush a IP buffer?...I have a client-server application. The client sends data normaly, but when the server gets down suddenly (a reset), the client appears not to realize that the connection is down and keep on sending. This makes that the ip buffer get colapsed. In this situation, the other threads of the aplication, as the one sends pings every second, can not send messages. The problem is that the "send" function return me the "ENOBUFFS" error when the IP buffer is full instead of the sockect buffer. Is there any way to know when a socket buffer is full to close the connection a flush the IP buffer without wait for the confirmation from the other side of the comunication, which is allready down!
Thank you in advance.