I have a client server application:
Client) Continues listen and waits on recv()
Server) has 2 threads
Thread 1) Continously sends data
Thread 2) Send data every 30 secs.
I have noticed many times,
1) Thread 2 in Server simply waits for ever during send()...
2) As soon as thread 1 sends some data, thread 2 just finishes.
What could be going wrong?
Can the server simply send() even though client is not waiting on recv()