Re: howto set a source ip address?
Fabian Bieker <[email protected]> Tue, 06 Feb 2007 17:27:34 +0100
| Newsgroups | gmane.comp.db.mysql.java |
|---|---|
| Message-ID | <[email protected]> |
Hi, Ronald Klop wrote: > You can possibly give a portnr of 0 (the ANY port). The socket wil get a > random port. ACK. From http://java.sun.com/j2se/1.4.2/docs/api/java/net/InetSocketAddress.html#InetSocketAddress(java.net.InetAddress,%20int): "A valid port value is between 0 and 65535. A port number of zero will let the system pick up an ephemeral port in a bind operation." Fabian -- Fabian Bieker, QA Netzwert AG, An den Treptowers 1, 12435 Berlin, Germany Voice: +49.30.5900800-0 Fax: +49.30.5900800-700 http://www.netzwert.ag -- MySQL Java Mailing List For list archives: http://lists.mysql.com/java To unsubscribe: http://lists.mysql.com/[email protected]