Simplify the API: Now wired transmission are never aborted if receiver turned off. It will just not receive the data

This commit is contained in:
Loic Guegan 2022-07-01 13:05:33 +02:00
parent 1eee1ac81a
commit 33ffa0b6e0
5 changed files with 29 additions and 60 deletions

View file

@ -3,13 +3,10 @@
[t=1.000,src=n1] Received: Hello World!
[t=1.000,src=n0] Send 1 bytes to n1 on eth0
[t=2.000,src=n1] Receive 1 bytes on eth0
[t=3.000,src=n0] Send 1 bytes to n1 on eth0
[t=3.000,src=n0] Send 15 bytes to n1 on eth0
[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=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
[t=18.000,src=n0] End
[t=18.000,src=esds] Simulation ends