updated picoTCP to 1.4.0, lowered build optimization levels to -O2, improved selftest
This commit is contained in:
16
ext/picotcp/test/python/udpecho.py
Executable file
16
ext/picotcp/test/python/udpecho.py
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
|
||||
from topology import *
|
||||
|
||||
T = Topology()
|
||||
net1 = Network(T,"udp0")
|
||||
echo = Host(T, net1, args="udpecho:172.16.1.2:7770:7770:1400:")
|
||||
|
||||
|
||||
sleep(1)
|
||||
raw_input("Press enter to continue ...")
|
||||
|
||||
start(T)
|
||||
wait(echo)
|
||||
cleanup()
|
||||
Reference in New Issue
Block a user