[riot-notifications] [RIOT-OS/RIOT] examples: add TCP echo server & client from documentation (#16739)

benpicco notifications at github.com
Wed Sep 8 17:07:57 CEST 2021


@brummer-simon I just noticed something now that client and server are combined into the same application:
After starting the server, I can no longer open any client connections:

```
2021-09-08 17:02:30,857 # listen 1234
2021-09-08 17:02:30,859 # Listening on port 1234

> send 2001:16b8:45bb:3d00:b8f3:77d9:fa25:2b01 1234 Test
2021-09-08 17:02:46,663 # send 2001:16b8:45bb:3d00:b8f3:77d9:fa25:2b01 1234 Test
2021-09-08 17:02:46,667 # Error connecting sock: Not enough space
```

With `LWIP=1` this is working fine:

```
> listen 1234
2021-09-08 17:06:24,483 # listen 1234
2021-09-08 17:06:24,485 # Listening on port 1234

> send 2001:16b8:45bb:3d00:b8f3:77d9:fa25:2b01 1234 Test
2021-09-08 17:07:09,175 # send 2001:16b8:45bb:3d00:b8f3:77d9:fa25:2b01 1234 Test
2021-09-08 17:07:09,178 # Read: "Hello from Linux
2021-09-08 17:07:09,178 # "
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16739#issuecomment-915322980
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210908/c8801f95/attachment.htm>


More information about the notifications mailing list