From 1eee1ac81a0ef7f86c7acc2d431b0ac084aebf14 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 1 Jul 2022 10:03:54 +0200 Subject: 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. --- tests/api_send_eth0_1s1r/sender.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/api_send_eth0_1s1r/sender.py') diff --git a/tests/api_send_eth0_1s1r/sender.py b/tests/api_send_eth0_1s1r/sender.py index 9f4aa85..a01b371 100644 --- a/tests/api_send_eth0_1s1r/sender.py +++ b/tests/api_send_eth0_1s1r/sender.py @@ -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) -- cgit v1.2.3