Support for the socketpair(2) system call was recently added for 2.3.0 . This change adds a sample application that demonstrates how it can be used. Fixes #25527 Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
16 lines
310 B
Plaintext
16 lines
310 B
Plaintext
# Provide some heap space
|
|
CONFIG_HEAP_MEM_POOL_SIZE=2048
|
|
|
|
# Networking config
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
|
CONFIG_NET_SOCKETPAIR=y
|
|
|
|
# Network driver config
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
# Use Portable threads
|
|
CONFIG_PTHREAD_IPC=y
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|