MCASTREAD(1)

NAME
mcastread - read multicast packets forever

SYNOPSIS
mcastread [-v46] [-s source] interface address port [file]

DESCRIPTION
The mcastread utility reads UDP multicast data continuously, and writing the data to the standard output. You must specify the interface, multicast address and UDP port number or service name (services(5)). If you specify the file, mcastread will write the data to the file.

With -v, mcastread generates more messages.

With -4 and -6, you can use either IPv4 or IPv6. By default, mcastread uses IPv6.

With -s source option, you can also specify the sender address of the multicast packet. If your kernel supports IGMPv3 / MLDv2, this source information is passed to the upstream multicast router.

RETURN VALUES
mcastread will exit with positive value on errors.

SEE ALSO
mcastsend(1)

HISTORY
The mcastread command first appeared in WIDE/KAME IPv6 protocol stack kit.