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

benpicco notifications at github.com
Thu Sep 23 15:57:58 CEST 2021

@benpicco commented on this pull request.

> +USEMODULE += netdev_default
+USEMODULE += shell
+USEMODULE += shell_commands
+USEMODULE += netutils
+ifeq (1, $(LWIP))
+  USEMODULE += ipv6_addr
+  USEMODULE += lwip_ipv6_autoconfig
+  USEMODULE += lwip_netdev
+  USEMODULE += auto_init_gnrc_netif
+  USEMODULE += gnrc_ipv6_default
+  # we want to be able to open two sockets

> Since you are already tweaking the gnrc_tcp configuration, you can enable the faster connection teardown algorithm via:

Now this is the TCP example everyone is expected to copy. So you are basically saying that this is the way GNRC TCP is supposed to behave - then why is it not the default? "Always make sure to wear kevlar boots when using GNRC TCP!" sounds less appealing to me when we could just disarm the foot guns. 

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/20210923/904dae83/attachment.htm>

More information about the notifications mailing list