This example shows how to use TCP with POSIX sockets
This example is distributed under the terms of GNU LGPLv2.1.
This example is configured to use POSIX sockets (over LWIP).
./../../dist/tools/tapsetup/tapsetup --create 2
$ make all; PORT=tap1 make term
> ip
copy the server address
> tcps
$ PORT=tap0 make term
> tcpc <IPv6's server address[%netif]>
Riot-to-host can be tested against netcat
Boards that due to insufficient memory are not able to support LWIP, which is required for this example, are included
in the BOARD_INSUFFICIENT_MEMORY
.