The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-29-2008
cbkihong cbkihong is offline
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,422
As Java socket programming is platform independent, I am not inclined to think that this has anything to do with different OS.

On the Linux server side, run a "netstat -tlnp" (I assume that is TCP-based) and make sure the server port is really bound and listened to. Also, try to use packet sniffer such as tcpdump and wireshark (GUI) to make sure the packets are sent as expected. These are the most effective ways to debug socket programming problems.
Reply With Quote