Gradew

Networking

Multicast with C and Perl on Linux

by Gradew on Apr.25, 2009, under Development, Networking

Here are sample C and Perl server and clients that send multicast messages and subscribe to MC groups. The interface IP used to send/received multicast data is configurable in the source itself; this is to show that we can use something else than eth0 by default.

Multicast: 225.0.0.2:1100
Client: 10.8.0.1
Server:  10.8.0.19

Note: The C server also send acknowledgement messages upon reception of a packet.

Download sources

Leave a Comment : more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!