[riot-notifications] [RIOT-OS/RIOT] gnrc_sock_tcp: add gnrc sock tcp (#16494)

Simon Brummer notifications at github.com
Tue Aug 10 11:51:48 CEST 2021

@brummer-simon commented on this pull request.

> +    int timeout = atol(argv[1]);
+    unsigned to_receive = atol(argv[2]);

Without a timeout, you basically trigger non-blocking behavior. If no data is available, -EAGAIN ist returned. This is not a fault of the implementation, the test just tries to continue to read until the required amount of data is available. The test assumes that amount of data that should be read, is actually sent.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210810/4ba37335/attachment.htm>

More information about the notifications mailing list