I did not immediately realize poll does better for disconnect detection. If you would like to submit a patch, I would be happy to look into incorporating it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems SocketService uses select and hence
on any linux system I don't get immediate notification
of connections closed by the client.
I would like the Disconnect method called whenever
the client diconnects.
I made a quick change to SocketService to use
poll and it works just like what I want ...
So, is this somthing we could add ?
Also, using a namespace would be get to avoid
all those nasty macros.
I did not immediately realize poll does better for disconnect detection. If you would like to submit a patch, I would be happy to look into incorporating it.