Hello Everyone,
I have this strange problem which has ruined my weekend.
I have been developing a client program for a server (which is developed in C). I was able to send full strings + different data types and get response from the server without problem.
Now (even though I think I have not changed anything), the connection resets after receiving first character of a string or first data item (like integer).
I receive this exception (after I receive a single character "V" at server side):
IOException: java.net.SocketException: Connection reset
Your help is very much appreciated.
My code snippet:
[ July 27, 2008: Message edited by: Siamak Saarmann ]
I have this strange problem which has ruined my weekend.
I have been developing a client program for a server (which is developed in C). I was able to send full strings + different data types and get response from the server without problem.
Now (even though I think I have not changed anything), the connection resets after receiving first character of a string or first data item (like integer).
I receive this exception (after I receive a single character "V" at server side):
IOException: java.net.SocketException: Connection reset
Your help is very much appreciated.
My code snippet:
[ July 27, 2008: Message edited by: Siamak Saarmann ]