mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo.
This commit is contained in:
parent
a3fe8e0b9f
commit
856898b395
15 changed files with 188 additions and 143 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue