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.

71 lines
2.0 KiB

  1. .\" Hey, EMACS: -*- nroff -*-
  2. .\" First parameter, NAME, should be all caps
  3. .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  4. .\" other parameters are allowed: see man(7), man(1)
  5. .Dd Jul 29, 2015 $
  6. .\" Please adjust this date whenever revising the manpage.
  7. .Dt MSEND 8 SMM
  8. .Os
  9. .Sh NAME
  10. .Nm msend
  11. .Nd send UDP messages to a multicast group
  12. .Sh SYNOPSIS
  13. .Nm
  14. .Op Fl g Ar GROUP
  15. .Op Fl p Ar PORT
  16. .Op Fl join
  17. .Op Fl t Ar TTL
  18. .Op Fl i Ar ADDRESS
  19. .Op Fl P Ar PERIOD
  20. .Op Fl text Ar 'text' | Fl n
  21. .Nm
  22. .Op Fl v | Fl h
  24. Continuously send UDP packets to the multicast group specified by the
  25. .Fl g
  26. and
  27. .Fl p
  28. options.
  29. .Sh OPTIONS
  30. .Bl -tag -width Ds
  31. .It Fl g Ar GROUP
  32. Specify the IP multicast address to which the packets are sent. The
  33. default group is
  34. .Nm .
  35. .It Fl p Ar PORT
  36. Specify the UDP port number used by the multicast group. The default
  37. port number is
  38. .Nm 4444 .
  39. .It Fl join
  40. Multicast sender will join join the multicast group. By default, a
  41. multicast sender does not join the group.
  42. .It Fl t Ar TTL
  43. Specify the TTL (1-255) value in the message. You must increase this if
  44. you want to route the traffic, otherwise the first router will drop the
  45. packets! The default value is 1.
  46. .It Fl i Ar ADDRESS
  47. Specify the IP address of the interface to be used to send the packets.
  48. The default value is INADDR_ANY which implies that the default interface
  49. selected by the system will be used.
  50. .It Fl P Ar PERIOD
  51. Specify the interval in milliseconds between two transmitted packets.
  52. The default value is 1000 milliseconds.
  53. .It Fl text Ar 'text'
  54. Specify a message text which is sent as the payload of the packets and
  55. is displayed by the
  56. .Xr mreceive 8
  57. command. The default value is an empty string.
  58. .It Fl n
  59. Interpret the contents of the message text as a number instead of a
  60. string of characters. Use
  61. .Nm mreceive
  62. .Fl n
  63. on the other end to interpret the message text correctly.
  64. .It Fl v
  65. Print version information.
  66. .It Fl h
  67. Print the command usage.
  68. .El
  69. .Sh SEE ALSO
  70. .Xr mreceive 8