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/out | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/api_send_eth0_1s1r/out') diff --git a/tests/api_send_eth0_1s1r/out b/tests/api_send_eth0_1s1r/out index 1634d95..d331337 100644 --- a/tests/api_send_eth0_1s1r/out +++ b/tests/api_send_eth0_1s1r/out @@ -7,5 +7,9 @@ [t=3.000,src=n1] Received: Hello World! [t=3.000,src=n1] Turned off [t=4.000,src=n1] Turned on +[t=4.000,src=n0] Send 10 bytes to n1 on eth0 [t=5.000,src=n1] Receive failed code=-1 -[t=5.000,src=esds] Simulation ends +[t=5.000,src=n1] Turned off +[t=6.000,src=n1] Turned on +[t=7.000,src=n1] Receive failed code=-1 +[t=14.000,src=esds] Simulation ends -- cgit v1.2.3