We have developed socket server message handling application using CAsyncSocket class. When ever new request for connection is received, new object of CAsyncSocket is used to accept connection. List of active connections / objects is maintained by server. User connected to this server can send messages to other users. Send & Receive events are handled using new object.
We are getting socket error WSAEWOULDBLOCK (10035) when server try to send data to newly connected user. Server send list of already connected users to newly connected user. This error starts after typically after 32 successful connections. Once this error is thrown, all new connections throws WSAEWOULDBLOCK error while sending data to client. Where as existing users do not face any issue in sending & receiving messages. This application is required to handle 1000 concurrent connections.
We need help to resolve this issue.