1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/posix/sockets
Olaf Bergmann 83e2932eb6 posix_sockets.c: fix send()/write() for connected UDP sockets
Calling send() or write() on a connected UDP socket raises a
kernel panic in posix_sockets.c, line 215, because _sockaddr_to_ep()
is called from socket_sendto() with address set to NULL.

This change modifies socket_sendto() to

* Check if the UDP socket is connected when the address argument
  is NULL.
* If connected, use the stored remote endpoint for sock_udp_send().
2019-04-10 11:19:13 +02:00
..
doc.txt doc: net: replace doc references of conn with sock 2017-02-07 13:32:20 +01:00
Makefile posix: redo socket API to use conn 2015-09-22 22:24:52 +02:00
posix_sockets.c posix_sockets.c: fix send()/write() for connected UDP sockets 2019-04-10 11:19:13 +02:00