wg-multicast - Re: example of proper use of igmp v3 SSM setsockopt on Linux 2.6 kernel?
Subject: All things related to multicast
List archive
- From: Hoerdt Mickael <>
- To: Stig Venaas <>
- Cc: Alan Crosswell <>, wg-multicast <>
- Subject: Re: example of proper use of igmp v3 SSM setsockopt on Linux 2.6 kernel?
- Date: Wed, 17 Nov 2004 10:49:18 +0100
Well, your function should be then called join_dgram_SSM, which I suppose will use UDP as a transport protocol. Maybe I am wrong but that's mean that you will bind your socket to
a user-defined port or a automatically choosen by the system ( in addition to the SSM address) ?
If this is the case, that means that for your application : you have to know the bind port
by some way (getsockname or something), I think more general to separate binding from
SSM joining, because I might write some ICMP over SSM protocol or something.
Maybe it's a detail but... open_SSM != open_UDP_SSM.
Hoerdt Mickael
Stig Venaas a écrit :
On Wed, Nov 17, 2004 at 10:15:20AM +0100, Hoerdt Mickael wrote:
Hi Alan,
You shouln't bind your socket before joining the SSM channel I think, try to bind it after or better,
try to bind it outside of the openSSM function : joining an SSM channel is an IP operation, which
is not related to socket binding (ususally related to transport operation).
Are you sure? I'm not aware of any restrictions, but interested to know
if any operating systems have any.
To me it seems more appropriate to bind before joining so that you're
prepared to receive packets that may arrive immediately after joining.
I guess this is mainly a matter of style and taste.
Stig
- example of proper use of igmp v3 SSM setsockopt on Linux 2.6 kernel?, Alan Crosswell, 11/16/2004
- Re: example of proper use of igmp v3 SSM setsockopt on Linux 2.6 kernel?, Stig Venaas, 11/16/2004
- Re: example of proper use of igmp v3 SSM setsockopt on Linux 2.6 kernel?, Alan Crosswell, 11/17/2004
- Re: example of proper use of igmp v3 SSM setsockopt on Linux 2.6 kernel?, Hoerdt Mickael, 11/17/2004
- Re: example of proper use of igmp v3 SSM setsockopt on Linux 2.6 kernel?, Stig Venaas, 11/17/2004
- Re: example of proper use of igmp v3 SSM setsockopt on Linux 2.6 kernel?, Hoerdt Mickael, 11/17/2004
- Re: example of proper use of igmp v3 SSM setsockopt on Linux 2.6 kernel?, Stig Venaas, 11/17/2004
- Re: example of proper use of igmp v3 SSM setsockopt on Linux 2.6 kernel?, Stig Venaas, 11/16/2004
Archive powered by MHonArc 2.6.16.