zephyr/samples/net/sockets/socketpair/sample.yaml
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
215 B
YAML

sample:
description: Socketpair sample
name: socketpair
common:
tags: net socket posix
harness: net
arch_exclude: posix
integration_platforms:
- mps2_an385
tests:
sample.net.sockets.socketpair: {}