Sponsored Content
Top Forums Programming Joining multicast group on IPADDR_ANY - which interface? Post 60636 by AlexI on Wednesday 19th of January 2005 05:47:16 PM
Old 01-19-2005
Joining multicast group on IPADDR_ANY - which interface?

Hello all,

I have the following question:

if you join a multicast group (with setsockopt() and IP_ADD_MEMBERSHIP) and specify INADDR_ANY as network interface to join on, the kernel is supposed to choose which interface to use (if there are multiple network interfaces, of course).
Does anybody here know how this default interface is chosen? How can I find out which interface on some machine will be used in this case, how can I configure a particular interface to be used as default for multicast join (if INADDR_ANY is used)?

I would appreciate any suggestions.

Alex.
 

8 More Discussions You Might Find Interesting

1. HP-UX

How to multicast on different IP network

Hi, there On HP-UX, I want to multicast packets on two different IP network repectively. The two NIC are configured with two different IP. The routes are added with one default and one net for each IP . The multisender programs bind their own local IP, multireceiver programs add the... (0 Replies)
Discussion started by: Frank2004
0 Replies

2. Linux

How to multicast on different IP network

On Linux, I have configured two different IP address for two network device eth0 ,eth1 , in my program, I want to multicast differently on these two network, I know it must add route for single network and I try to config another route for second network,but it can not work correctly, how to config... (0 Replies)
Discussion started by: Frank2004
0 Replies

3. Solaris

multicast config

On SUN Solaris 10, if I want to multicast packets between nodes, whether it must config the multicast IP from OS, if yes, how to do it? (0 Replies)
Discussion started by: Frank2004
0 Replies

4. Solaris

Reboot, System is Frozen at setting interface for multicast HELP

I'm not an advanced user by any strech, that being said here is my problem: I ran "reboot" on a sun blade 2500 When loading up it runs through the usual routine, checking disks, filesystems and then it locks up after the following message: ***** starting rpc services: rpcbind... (6 Replies)
Discussion started by: eyukins
6 Replies

5. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

6. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

7. Shell Programming and Scripting

Joining multi-line output to a single line in a group

Hi, My Oracle query is returing below o/p ---------------------------------------------------------- Ins trnas value a lkp1 x a lkp1 y b lkp1 a b lkp2 x b lkp2 y ... (7 Replies)
Discussion started by: gvk25
7 Replies

8. IP Networking

Multicast IP address

Hi please help, theoretically I',m interested in starting a streaming service using multicast IP service. I'd like to know how do I get an IP address that I can send my data too? (please don't just point me too Internet Assigned Numbers Authority as ive been there and it just seem to state... (1 Reply)
Discussion started by: fishman2001
1 Replies
ssmping(1)						      General Commands Manual							ssmping(1)

NAME
ssmping - check if you can receive IPv4/IPv6 multicast data from an internet host SYNOPSIS
ssmping [ -46v ] [ -I interface ] [ -c count ] [ -s size ] host ssmpingd DESCRIPTION
ssmping and ssmpingd are network level multicast management tools that can be used to check whether one can receive multicast packets via SSM from a host. The host target given to ssmping must run the ssmpingd daemon, which listens on UDP port 4321 for IPv4 and IPv6 unicast requests. When it receives one, it responds to a well known SSM multicast group which ssmping just have joined. Depending on whether the request was made with IPv4 or IPv6, the group is 232.43.211.234 or ff3e::4321:1234 respectively. OPTIONS
For ssmpingd there are no options. For ssmping the options are as follows. -4 Force IPv4 -6 Force IPv6 -v Print client and server version information. -I interface Interface to join on -c count Stop after sending (and receiving) count requests (and replies) -s size Request replies to have a size of size bytes SEE ALSO
asmping(1) a tool for checking whether can receive ASM. dbeacon(1) a distributed beacon multicast implementation. BUGS
Please report them to Stig Venaas <venaas@uninett.no>, the author of this tool. HISTORY
ssmping and ssmpingd were developed by Stig Venaas during the early days of the m6bone, the IPv6 multicast backbone. User Manuals ssmping(1)
All times are GMT -4. The time now is 11:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy