Check UDP comminication easily.
python 3.4.0 more
MacOS, Linux, Raspberry Pi, Windows
Server
python server.py PORT
# e.g.
# python server.py 13001
Client
python client.py 'IP ADDRESS' PORT
# e.g.
# python client.py '192.168.1.10' 13001
Server
python server.py PORT -l
-l
:Repeat server.py. Close byCtrl + c
Client
python client.py 'IP ADDRESS' PORT MAX_MBPS DURATION_SEC_TIME PACKET_SIZE
# e.g.
# python client.py '192.168.1.10' 13001 2.0 3 1390
MAX_MBPS
: Maximum upload speeds of per seconds.DURATION_SEC_TIME
: Duration of upload time by seconds.PACKET_SIZE
: This size is detected from related packet header size.
MIT
Kenichi Usami