zephyr/samples/net/sockets
Robert Lubos 0623b23f71 samples: net: echo_client: Fix build warning with IPv6 disabled
Building the sample with IPv4 only gives the following warning:

tcp.c:99:37: warning: array subscript 'struct sockaddr[0]' is partly
outside array bounds of 'struct sockaddr_in[1]' [-Warray-bounds]
  data->tcp.sock = socket(addr->sa_family, SOCK_STREAM, IPPROTO_TCP);

This doesn't really seem like a valid one, but to get rid of it
workaround by specifying address family explicitly.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2024-10-08 16:58:20 +02:00
..
big_http_download samples: net: sockets: big_http_download: Fix build with TLS enabled 2024-06-24 12:42:16 -04:00
can samples: net: Disable native_posix target in more samples 2024-04-17 14:28:08 +02:00
coap_client samples: doc: fix wrong relevant_apis references 2024-08-20 18:58:55 -04:00
coap_download samples: doc: fix wrong relevant_apis references 2024-08-20 18:58:55 -04:00
coap_server samples: net: Add Wi-Fi snippet support for networking samples 2024-10-08 16:58:20 +02:00
dumb_http_server samples: net: Disable native_posix target in samples 2024-04-04 17:02:04 +02:00
dumb_http_server_mt samples: net: sockets: Add netif dependency where missing 2024-06-07 16:45:05 +03:00
echo samples/net socket_echo: Fix pointer type 2024-04-18 12:20:14 +02:00
echo_async samples: net: Add Wi-Fi snippet support for networking samples 2024-10-08 16:58:20 +02:00
echo_async_select net: Use always zephyr/posix/fcntl.h 2024-03-27 13:40:13 -05:00
echo_client samples: net: echo_client: Fix build warning with IPv6 disabled 2024-10-08 16:58:20 +02:00
echo_server Samples: Enabled Network Shell with XGMAC ethernet. 2024-09-05 17:03:05 -04:00
echo_service tests/samples: net: Fix the max number of file descriptors 2024-09-30 17:12:15 +01:00
http_client samples: net: http_client: Fix busy-looping in case of errors 2024-09-16 13:51:21 +02:00
http_get samples: net: Add Wi-Fi snippet support for networking samples 2024-10-08 16:58:20 +02:00
http_server samples: net: sockets: Update HTTP server linker with CMake variable 2024-10-04 10:49:51 +01:00
net_mgmt samples: net: sockets: net_mgmt: Increase main thread priority 2024-06-25 10:25:37 -04:00
packet misc: move lorem ipsum text to zephyr/misc/lorem_ipsum.h 2024-08-02 03:31:06 -04:00
sntp_client samples: net: Add Wi-Fi snippet support for networking samples 2024-10-08 16:58:20 +02:00
socketpair samples net/posix: Rename old Makefiles and clarify READMEs 2023-10-20 15:01:42 +02:00
tcp samples: net: Change to use CONFIG_POSIX_API 2024-03-27 13:40:13 -05:00
txtime samples: net: txtime: Do not run qemu_x86 with twister 2024-06-29 05:50:04 -04:00
websocket_client misc: move lorem ipsum text to zephyr/misc/lorem_ipsum.h 2024-08-02 03:31:06 -04:00
sockets.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00