diff options
author | Georg Brandl <georg@python.org> | 2010-12-30 22:11:50 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-12-30 22:11:50 (GMT) |
commit | 856898b3958626d2400e59b53dc134283addc988 (patch) | |
tree | 2018f1418921ad20ef0fce86f9e28df09c3e5567 /Tools/demo/mcast.py | |
parent | a3fe8e0b9face74e34b938dd657c4048d5f0dadf (diff) | |
download | cpython-856898b3958626d2400e59b53dc134283addc988.zip cpython-856898b3958626d2400e59b53dc134283addc988.tar.gz cpython-856898b3958626d2400e59b53dc134283addc988.tar.bz2 |
Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo.
Diffstat (limited to 'Tools/demo/mcast.py')
-rwxr-xr-x | Tools/demo/mcast.py | 20 |
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' |