summaryrefslogtreecommitdiffstats
path: root/Tools/demo/mcast.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/demo/mcast.py')
-rwxr-xr-xTools/demo/mcast.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/Tools/demo/mcast.py b/Tools/demo/mcast.py
index 6ce7c6d..924c7c3 100755
--- a/Tools/demo/mcast.py
+++ b/Tools/demo/mcast.py
@@ -1,13 +1,15 @@
#!/usr/bin/env python3
-#
-# Send/receive UDP multicast packets.
-# Requires that your OS kernel supports IP multicast.
-#
-# Usage:
-# mcast -s (sender, IPv4)
-# mcast -s -6 (sender, IPv6)
-# mcast (receivers, IPv4)
-# mcast -6 (receivers, IPv6)
+
+"""
+Send/receive UDP multicast packets.
+Requires that your OS kernel supports IP multicast.
+
+Usage:
+ mcast -s (sender, IPv4)
+ mcast -s -6 (sender, IPv6)
+ mcast (receivers, IPv4)
+ mcast -6 (receivers, IPv6)
+"""
MYPORT = 8123
MYGROUP_4 = '225.0.0.250'