summaryrefslogtreecommitdiff
path: root/tests/api_send_eth0_1s1r/sender.py
blob: a01b37185e37747de453ab94078fc158d96f050d (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env python

def execute(api):
    api.send("eth0","Hello World!",1,1)
    api.send("eth0","Hello World!",1,1)
    api.wait(1) # Goto 3 seconds
    api.send("eth0","Hello World!",1,1)
    api.send("eth0","Hello World!",10,1,False) # Now communication should not be aborted even if receiver turned_off (e.g UDP)