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

Martine Lenders notifications at github.com
Tue Sep 21 09:58:47 CEST 2021


@miri64 commented on this pull request.



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

Do that in `app.gnrc.config`? You can, I believe then add it as a config file here. If GNRC TCP does not have Kconfig support yet, NVM (alternatively, a good opportunity to add some ;-).

-- 
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#pullrequestreview-759419470
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210921/25baf48c/attachment.htm>


More information about the notifications mailing list