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 Sets SO_REUSEADDR for a socket. This is used only for MulticastSockets in java, and it is set by default for MulticastSockets. Valid for: DatagramSocketImpl Regards, Martin