Skip to content

shorten the tcp system test

Evan Hunt requested to merge each-faster-tcp-test into main

the tcp system test uses the 'packet.pl' test tool to send a packet thousands of times. this took a long time because the tool was waiting for replies and parsing them; however, for that particular test the replies aren't relevant.

this commit uses non-blocking sockets and moves the reply parsing outside the send loop, which speeds the system test up substantially.

Edited by Evan Hunt

Merge request reports