i have a client,server application... I have made the server to listen and accept a connection. The client also connects successfully
The connection works good except that i get the WSAECONNRESET error at times.
server works as
{
recv
send
}
client
{
send
recv
}
after server's send, the server's recv(supposed to block)
fails with the error 10054
It does not happen when small amount of data is sent..
What could be the cause of the problem,
Is there any restriction in size of data to be sent via a windows socket?
p.s- There is no loss of connection between client and server (run on the same machine)
The connection works good except that i get the WSAECONNRESET error at times.
server works as
{
recv
send
}
client
{
send
recv
}
after server's send, the server's recv(supposed to block)
fails with the error 10054
It does not happen when small amount of data is sent..
What could be the cause of the problem,
Is there any restriction in size of data to be sent via a windows socket?
p.s- There is no loss of connection between client and server (run on the same machine)
Comment