MCASTREAD(1) BSD General Commands Manual MCASTREAD(1)NAMEmcastread — read multicast packets forever
SYNOPSISmcastread [-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, multi‐
cast 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 VALUESmcastread will exit with positive value on errors.
SEE ALSOmcastsend(1)HISTORY
The mcastread command first appeared in WIDE/KAME IPv6 protocol stack
kit.
KAME May 11, 1999 KAME