java TCP socket client issue on linux
843790Sep 5 2009 — edited Sep 9 2009Hello. I wrote a java TCP socket client. It works just fine on Windows, but it doesn't work on Linux.
There are any known issues with TCP sockets on linux?
-------------
Error example:
java -jar idec-cronjob.jar -c
info: Connecting to 71.167.194.225:8080...
info: Connected.
info: Timeout setup is 30000 msec.
send: 05 46 46 30 52 44 30 30 30 30 30 34 32 37
error: message receive error!
Reception error!
----------------
Working Example:
java -jar idec-cronjob.jar -c
info: Connecting to 71.167.194.225:8080...
info: Connected.
info: Timeout setup is 30000 msec.
send: 05 46 46 30 52 44 30 30 30 30 30 34 32 37
recv: 06 30 30 30 31 34 37 42 34 32 39 42 33 42
Main temperature: 77.540001
The code listing could be found at: http://www.papernapkin.org/pastebin/view/6208/
Thanks for your help.