Hi.
I have a client socket connected to server socket.
If server keeps using the CSocket::Send function to send client data, for example using the following code:
After a while (not straight away), if the client socket isn't calling CSocket::Receive to receive the data being sent to it, in the above code the entire application freezes on the line Client->Send("a" until client does eventually call the Receive function.
With the server app froze no more clients can connect to server, or receive data from other clients who are currently connected.
Hope my problem makes sence, and I'll be greatful for any replies, thanks in advance...
I have a client socket connected to server socket.
If server keeps using the CSocket::Send function to send client data, for example using the following code:
Code:
while (true)
{
Client->Send("a");
}
After a while (not straight away), if the client socket isn't calling CSocket::Receive to receive the data being sent to it, in the above code the entire application freezes on the line Client->Send("a" until client does eventually call the Receive function.
With the server app froze no more clients can connect to server, or receive data from other clients who are currently connected.
Hope my problem makes sence, and I'll be greatful for any replies, thanks in advance...