Tools for multicast testing (msend and mreceive)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

70 lines
2.0 KiB

.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.Dd Jul 29, 2015 $
.\" Please adjust this date whenever revising the manpage.
.Dt MSEND 8 SMM
.Os
.Sh NAME
.Nm msend
.Nd send UDP messages to a multicast group
.Sh SYNOPSIS
.Nm
.Op Fl g Ar GROUP
.Op Fl p Ar PORT
.Op Fl join
.Op Fl t Ar TTL
.Op Fl i Ar ADDRESS
.Op Fl P Ar PERIOD
.Op Fl text Ar 'text' | Fl n
.Nm
.Op Fl v | Fl h
.Sh DESCRIPTION
Continuously send UDP packets to the multicast group specified by the
.Fl g
and
.Fl p
options.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl g Ar GROUP
Specify the IP multicast address to which the packets are sent. The
default group is
.Nm 224.1.1.1 .
.It Fl p Ar PORT
Specify the UDP port number used by the multicast group. The default
port number is
.Nm 4444 .
.It Fl join
Multicast sender will join join the multicast group. By default, a
multicast sender does not join the group.
.It Fl t Ar TTL
Specify the TTL (1-255) value in the message. You must increase this if
you want to route the traffic, otherwise the first router will drop the
packets! The default value is 1.
.It Fl i Ar ADDRESS
Specify the IP address of the interface to be used to send the packets.
The default value is INADDR_ANY which implies that the default interface
selected by the system will be used.
.It Fl P Ar PERIOD
Specify the interval in milliseconds between two transmitted packets.
The default value is 1000 milliseconds.
.It Fl text Ar 'text'
Specify a message text which is sent as the payload of the packets and
is displayed by the
.Xr mreceive 8
command. The default value is an empty string.
.It Fl n
Interpret the contents of the message text as a number instead of a
string of characters. Use
.Nm mreceive
.Fl n
on the other end to interpret the message text correctly.
.It Fl v
Print version information.
.It Fl h
Print the command usage.
.El
.Sh SEE ALSO
.Xr mreceive 8