1827280 Members
2458 Online
109717 Solutions
New Discussion

Re: Multicast group

 
SOLVED
Go to solution
Jorge Prado_1
Advisor

Multicast group

Hi,
As I generate two multicast groups?
S.O: HP-UX 11i

Thank in advance
Jorge Prado
1 REPLY 1
Todd Whitcher
Esteemed Contributor
Solution

Re: Multicast group

Hello I'm not sure what your question is.

There are example programs here:
/usr/lib/demos/networking/socket/serv.mcast.c
/usr/lib/demos/networking/socket/client.mcast.c

That may help you out.

There is a known issue w/ setting up multiple multi-cast groups on 11.X

Make sure you have

PHNE_28538 ARPA Transport 11.0
PHNE_28895 ARPA Transport 11.11

And their dependencies loaded.

To set up multiple groups just use the route command and edit /etc/rc.config.d/netconf file for the permanent entry.

# route add host 238.2.75.73 192.168.2.84
add host 238.2.75.73: gateway 192.168.2.84

# route add host 238.2.75.72 192.168.1.84
add host 238.2.75.72: gateway 192.168.1.84


netstat -gn
lan3 238.2.75.73 1
lan3 224.0.0.1 1
lan0 238.2.75.72 1
lan0 224.0.0.1 1

224.0.0.1 is there by default.


Hope that helps

Todd