henchman
2007-07-06 04:06:17 UTC
Simple socket programming using C in tandem. Using nowait procedures
and awaitiox to complete the nowait calls. I'm the sever side and
wanna know when a client side closes a connection. How to know this?
If I'm using a recv() the received data would be zero and from there
I'll know the client had closed their connection. But since I'm using
a recv_nw, how to know a connection had been closed? Help pls.
and awaitiox to complete the nowait calls. I'm the sever side and
wanna know when a client side closes a connection. How to know this?
If I'm using a recv() the received data would be zero and from there
I'll know the client had closed their connection. But since I'm using
a recv_nw, how to know a connection had been closed? Help pls.