SYNOPSIS

mcsender [-t<ttl>] [-i<interface>] ip:port

DESCRIPTION

mcsender sends multicast packets to the specified IPv4 or IPv6 multicast address and port. The packets sent contain the string "this is the test message from mclab/mcsender\n".

OPTIONS

-t<ttl>

Set the TTL (or hop limit for IPv6) to the specified value.

-i<interface>

Specify the interface to use for outgoing multicast datagrams.

EXAMPLES

To send datagrams to IPv4 multicast address 239.1.1.1 and port 12345 with a TTL of 3:

$ mcsender -t3 239.1.1.1:12345

To send datagrams to IPv4 multicast address 239.1.1.1 and port 12345 with a TTL of 3 out of interface eth1:

$ mcsender -ieth1 -t3 239.1.1.1:12345

To send datagrams to IPv6 multicast address ff15::1 and port 12345 with a hop limit of 3:

$ mcsender -t3 ff15::1:12345

To send datagrams to IPv6 multicast address ff15::1 and port 12345 with a hop limit of 3 out of interface eth1:

$ mcsender -ieth1 -t3 ff15::1:12345

AUTHOR

mcsender was written by Carsten Schill <[email protected]>.

Support for IPv6 was added by Todd Hayton <[email protected]>.

This manual page was written by Julien BLACHE <[email protected]>, for the Debian project (but may be used by others).