-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
,--- lteixeira 1973 writes:
| Hi everybody,
| I currently have between hands a client application (java client
| connect to a C++ server which runs under windows) that simply
| establishes a TCP/IP connection and passes a simple string (no spaces)
| to the server. Everything works fine in windows. However, if I run the
| client under Linux it fails - the server simply crashes. This is the
| exception I get:
| Exception in thread "main" java.net.SocketException: Connection reset
| at java.net.SocketInputStream.read(SocketInputStream. java:168)
| at SGSClient.main(SGSClient.java:43)
| Under windows I was able to reproduce the same behavior by activating
| a firewall.
| I've tested under several different SuSE platfoms (SuSE 8.2, SuSE9.3,
| SLES9.0) and I alway got the same behavior (the firewall was disabled
| in all platforms).
| My company recently moved its headquarters to a different building and
| we had some networking problems. However, now everything works fine
| except for this application under the previously described
| conditions.
| Do you have any idea what the problem might be? I've runnout of ideas
| and I just don't know where to look.
And have you tried it, with client running on another Windows box,
hmm.. ?
Try running Wireshark on your Windows box, to see whether it received
the string your client passes or not.
| Thanks in advance.
| LTeixeira
| PS: Don't have access to source code. Otherwise I would try to debug
| it.
HTH
- --
Ashish Shukla "Wah Java !!"
आशीष शुक्ल
weblog:
http://wahjava.wordpress.com/
,= ,-_-. =. | DRMs are often designed by ambitious, well-funded consortia, |
((_/)o o(\_)) | with top-notch engineers from every corner of the industry.. |
`-'(. .)`-' | They spend millions. They take years. They are defeated in|
\_/ | days, for pennies, by hobbyists. - Cory Doctorow |
The best optimizer is between your ears.
- Michael Abrash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHJY8XHy+EEHYuXnQRAmiEAKDQf0C9zSOQm6eZudMZwK HM8zgprgCgoFDR
uTwqnJsnGBf19f9CuA6E3V8=
=OpHl
-----END PGP SIGNATURE-----