Im programming a really simple server that right now clients connect to. Im using wsock32.lib vs.net 2003.
My problem is know when a client has disconnected. Anyone know a simple way to detect this?
Im programming a really simple server that right now clients connect to. Im using wsock32.lib vs.net 2003.
My problem is know when a client has disconnected. Anyone know a simple way to detect this?
One solution is via select(). What I/O model? If you're developing the socket I/O around a non-blocking I/O, then the OS should update the main thread on socket connection status.
Kuphryn