Jesse Erdmann wrote:
> 
> Hello all,
> 
>         I'm trying to port a Java server from Windows to Linux.  Both need to
> be interoperable and the clients (Win*/Linux on x86) need to be able to
> connect to either.
> 
>         On the Windows platform, the developers were able to bind a
> MulticastSocket to a port already in use by other (non-Multicast)
> sockets.    However, when the code tries to do this on Linux I get a
> BindException: Address already in use.  Of course, this doesn't happen
> when I feed it a port not in use.  However, this really isn't a viable
> solution for various reasons (the process currently fails for other
> reasons because of using a different port).
> 
>         Does anyone have suggestions on how to fix this without resorting to
> using a different port?  Also, does anyone know specifically why this is
> different between the two environments?
> 
> Thanks!
> 
> --
> 
> Jesse Erdmann
> Engineer
> Secure Computing Corp.
> 

What version of the Linux Kernel are you using?  What version of glibc
are you using?  If you are using the latest versions then you may be
seeing a bug related to major differences in multicast socket
behaviors.  At least some of these problems were fixed in a patch made
to blackdown today.

-- 
Matthew Peterson
Sr. Software Engineer
Caldera Systems, Inc
[EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to