zephyr/samples/net/sockets/socketpair/prj.conf
Chris Friedt 189d8b8a5e samples: net: socketpair: clean up sample app
* use `read()` instead of `recv()`
* use `write()` instead of `send()`
* use `CONFIG_POSIX_API` and drop `<zephyr/posix/..>` prefix
* use `perror()`
* fix `Makefile.posix` to use `CC` instead of `CXX`
* fix race condition which caused an unhandled EOF
  and infinite loop, by adding a readback / echo
* Updated the docs to reflect the expected stdout
* Improve doc clarity

Signed-off-by: Chris Friedt <cfriedt@meta.com>
2023-02-08 19:04:25 +09:00

12 lines
253 B
Plaintext

# Provide some heap space
CONFIG_HEAP_MEM_POOL_SIZE=2048
# socketpair dependencies
CONFIG_POSIX_API=y
CONFIG_NET_SOCKETPAIR=y
# Networking config (network subsystem dependencies)
CONFIG_NETWORKING=y
CONFIG_NET_SOCKETS=y
CONFIG_TEST_RANDOM_GENERATOR=y