[gnet-dev] catching peer reset using async tcp



I used the async method in echoserver example.

It works and all, but i need to catch the read errors
that sockets throw, like "connection reset by peer".

I was hoping that async iofunc would be called
with an error condition,  where i could free resources and
prepare for a reconnect.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]