Porting PicoTCP WIP
This commit is contained in:
16
kernel/picotcp/test/python/tcpecho_linux.py
Executable file
16
kernel/picotcp/test/python/tcpecho_linux.py
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/python
|
||||
from topology import *
|
||||
|
||||
T = Topology()
|
||||
net1 = Network(T, "pyt0")
|
||||
|
||||
#h1 = Host(T, net1)
|
||||
h2 = Host(T, net1, args="tcpecho:8888", delay1="20", loss1="0.01")
|
||||
#h3 = Host(T, net1, args="tcpbench:t:172.16.1.1:")
|
||||
|
||||
sleep(1)
|
||||
start(T)
|
||||
|
||||
#wait(h3)
|
||||
wait(h2)
|
||||
cleanup()
|
||||
Reference in New Issue
Block a user