[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 01027) Re: Multicast bind problem...



In article <20011115113650W.yoshfuji@xxxxxxxxxxxxxx> (at Thu, 15 Nov 2001 11:36:50 +0900), YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> says:

> In article <200111150156.JAA15915@xxxxxxxxxxxxxxxxxxxxxxx> (at Thu, 15 Nov 2001 10:02:48 -0500), Parijat Mishra <parijat@xxxxxxxxxxxxxx> says:
> 
> > am facing is that the second and subsequent processes' bind() fails with 
> > "address already in use" error.  Each process sets the SO_REUSEADDR option 
> > before bind().  BTW, is SO_REUSEPORT available on Linux?
> 
> We've tried having SO_REUSEPORT compatible code for multicasts.

If you use SO_REUSEADDR for multicast address, 
it will act as if it were SO_REUSEPORT.

BTW, what should we do for unspecified vs multicast case?
Any inputs?

--yoshfuji