Revision: 4908 http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4908&view=rev Author: bphinz Date: 2012-04-27 18:23:31 +0000 (Fri, 27 Apr 2012) Log Message: ----------- Fixed an issue with -listen mode where java client wasn't listening on the wildcard address
Modified Paths: -------------- trunk/java/com/tigervnc/network/TcpListener.java Modified: trunk/java/com/tigervnc/network/TcpListener.java =================================================================== --- trunk/java/com/tigervnc/network/TcpListener.java 2012-04-26 14:27:52 UTC (rev 4907) +++ trunk/java/com/tigervnc/network/TcpListener.java 2012-04-27 18:23:31 UTC (rev 4908) @@ -59,9 +59,7 @@ } else if (listenaddr != null) { addr = java.net.InetAddress.getByName(listenaddr); } else { - // FIXME: need to be sure we get the wildcard address? - addr = InetAddress.getByName(null); - //addr = InetAddress.getLocalHost(); + addr = InetAddress.getByName("0.0.0.0"); } } catch (UnknownHostException e) { System.out.println(e.toString()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Tigervnc-commits mailing list Tigervnc-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-commits