It might help to "debug" this by using tcpdump or wireshark, something which shows the tcp traffic going back and forth.
Often what happens in these kind of problems between client/server is that two parties are waiting for input and neither is willing to send.
Seeing exactly what each is waiting for will give clues as to where to look in the code.
It would also help if you posted the client code here too.
|