Bug#195353: java.net.SocketException: SO_REUSEADDR: not valid for TCP

2003-05-30 Thread Martin v. Löwis
Adam Heath <[EMAIL PROTECTED]> writes: > java.net.SocketException: SO_REUSEADDR: not valid for TCP [...] > It is perfectly fine to set that option for a tcp socket. Setting it for > udp makes no sense. Hmm. http://java.sun.com/j2se/1.4.1/docs/api/java/net/SocketOptions.html#SO_REUSEADDR says S

Bug#195353: java.net.SocketException: SO_REUSEADDR: not valid for TCP

2003-05-29 Thread Adam Heath
package: libgcj4 version: 1:3.3-2 java.net.SocketException: SO_REUSEADDR: not valid for TCP at java.net.PlainSocketImpl.setOption(int, java.lang.Object) (/usr/lib/libgcj.so.4.0.0) at java.net.ServerSocket.setReuseAddress(boolean) (/usr/lib/libgcj.so.4.0.0) at org.doogie.net.SuperServer.