[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 01025) Multicast bind problem...
- To: usagi-users@xxxxxxxxxxxxxx
- Subject: (usagi-users 01025) Multicast bind problem...
- From: Parijat Mishra <parijat@xxxxxxxxxxxxxx>
- Date: Thu, 15 Nov 2001 10:02:48 -0500
- Organization: CWC
- Reply-to: parijat@xxxxxxxxxxxxxx
Hello all,
I had posted this question to the list a few days ago. The thread seems to
have petered out. So I will raise this question again.
An application that I want to run wants to set up a 'multicast bus'. The
idea is that the application spawns many processes, wach of which listen()s
on (and sends to) a common multicast address/port combination. The problem I
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?
From what I read, setting SO_REUSEADDR for a multicast socket should allow
many processes to bind to the same address/port combo. This works on the
standard kernels. But not on USAGI.
SO is there something wrong with bind() on USAGI? Any hints?
I am using the latest codes checkout from CVS.
--
Sincerely,
Parijat Mishra
R & D Engineer,
Centre for Wireless Communications, NUS
Tel: (65)8709353