This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-libzt/ext/picotcp/test/python/ping_delay.py

15 lines
193 B
Python
Executable File

#!/usr/bin/python
from topology import *
T = Topology()
net1 = Network(T)
h1 = Host(T, net1, delay1="200")
h2 = Host(T, net1, args="ping:172.16.1.1:")
sleep(1)
start(T)
wait(h2)
cleanup()