Re: repeating topic : detectect uncleanly closed socket

2015-08-07 Thread Marc Lehmann
On Fri, Aug 07, 2015 at 08:04:32PM +0200, "hard.one Software GmbH - Martin Peter Hanke" wrote: > Now there is one thing left: detecting uncleanly disconnected sockets. What exactly is an uncleanly disconnected socket, where does the unclean disconnect happen, which protocol does the socket use?

repeating topic : detectect uncleanly closed socket

2015-08-07 Thread hard.one Software GmbH - Martin Peter Hanke
Hi all I finally managed my implementation of an multi-threaded socket server with libev. Now there is one thing left: detecting uncleanly disconnected sockets. At the moment the approach of the client is the following: 1x ioReadWatcher 1x ioWriteWatcher 1x stopWatcher 1x timerWatcher called