mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-19 03:59:45 +00:00
Change API. Indeed, currently wired communications
are aborted when receiver node turned off. This may not be desire when implementing UDP communications. Now user can use a boolean when using send()/sendt() to change this behavior.
This commit is contained in:
parent
48ca1f43f2
commit
1eee1ac81a
5 changed files with 49 additions and 32 deletions
|
@ -5,3 +5,4 @@ def execute(api):
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue