Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 425 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 425 Bytes

py-multicast-example

simple python multicast sender/receiver example

this example is based on demo python program http://svn.python.org/projects/python/trunk/Demo/sockets/mcast.py. the enhancement is to support interface as argument.

note that at CentOS/redhat system, you need run "iptables -I INPUT -p udp -i enp0s8 -m state --state NEW -m multiport --dports 8123 -j ACCEPT" to enable iptable rules at receiver machine