incubator-nuttx/net/socket
Andrew Webster 4875c6bbe3 TCP: check for connection before deleting it
It is possible for a socket to have no connection, for example if a TCP
socket is waiting in accept.  This checks for this condition in case the
socket is closed from a different thread.
2016-01-22 15:59:15 -06:00
..
Kconfig Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:08:57 -06:00
Make.defs net/udp: Add support for send() with connected UDP sockets 2015-08-11 19:17:55 -06:00
accept.c net_startmonitor.c always returned zero. In the case where a socket has already been closed, it correctly handled the disconnetion event but still returned OK. Returning OK causes the callers of net_startmonitor to assume that the connection was okay, undoing the good things that net_startmonitor did and causing the socket to be marked as connected. This behavior was noted by Pelle Windestam. 2015-05-28 08:23:51 -06:00
bind.c net/: More clean-up of spacing/alignment issues 2015-10-08 15:10:04 -06:00
connect.c net/: More clean-up of spacing/alignment issues 2015-10-08 15:10:04 -06:00
getsockname.c net/: More clean-up of spacing/alignment issues 2015-10-08 15:10:04 -06:00
getsockopt.c net/: More clean-up of spacing/alignment issues 2015-10-08 15:10:04 -06:00
listen.c Networking: Add local Unix domain socket listen logic 2015-01-25 14:16:44 -06:00
net_checksd.c Cosmetic standardization of some naming in comments 2015-01-19 16:02:56 -06:00
net_clone.c Networking: New domain field in socket structure is created by socket(), but missed cases where a socket is created via accept() or dup() 2015-01-22 07:50:31 -06:00
net_close.c TCP: check for connection before deleting it 2016-01-22 15:59:15 -06:00
net_dupsd.c Fix some spacing problems 2015-10-04 15:04:00 -06:00
net_dupsd2.c Networking: Fix some compilation issues noted with network is build with CONFIG_BUILD_KERNEL 2015-07-05 11:18:56 -06:00
net_monitor.c net/: More clean-up of spacing/alignment issues 2015-10-08 15:10:04 -06:00
net_poll.c Networking: Separate TCP poll logic out of net/sockets/net_poll.c and move it into the new net/tcp/tcp_netpoll.c. 2015-01-30 07:25:01 -06:00
net_sendfile.c Update to use 64-bit timer when available 2016-01-21 11:54:26 -06:00
net_sockets.c net/: More clean-up of spacing/alignment issues 2015-10-08 15:10:04 -06:00
net_timeo.c Update to use 64-bit timer when available 2016-01-21 11:54:26 -06:00
net_vfcntl.c Networking: Fix some compilation issues noted with network is build with CONFIG_BUILD_KERNEL 2015-07-05 11:18:56 -06:00
recv.c Cosmetic standardization of some naming in comments 2015-01-19 16:02:56 -06:00
recvfrom.c Update to use 64-bit timer when available 2016-01-21 11:54:26 -06:00
send.c net/udp: Add support for send() with connected UDP sockets 2015-08-11 19:17:55 -06:00
sendto.c net/udp: Add support for send() with connected UDP sockets 2015-08-11 19:17:55 -06:00
setsockopt.c net/: More clean-up of spacing/alignment issues 2015-10-08 15:10:04 -06:00
socket.c Fix some spacing problems 2015-10-04 15:04:00 -06:00
socket.h Update to use 64-bit timer when available 2016-01-21 11:54:26 -06:00