Multiple clients and FD_CLOSE what socket to close?
Hello,
Im creating a server (async tcp) which handles multiple clients. I use an array to store each client socket. When I receive an FD_CLOSE, how do I know what is the socket I need to close?
Thanks.
Quote:MSDN says
When one of the nominated network events occurs on the specified socket s, the application window hWnd receives message wMsg. The wParam parameter identifies the socket on which a network event has occurred. The low word of lParam specifies the network event that has occurred. The high word of lParam contains any error code
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement