ruby/ext/socket
Jean Boussier bcc905100f BasicSocket#recv* return `nil` rather than an empty packet
[Bug #19012]

man recvmsg(2) states:

> Return Value
> These calls return the number of bytes received, or -1 if an error occurred.
> The return value will be 0 when the peer has performed an orderly shutdown.

Not too sure how one is supposed to make the difference between a packet of
size 0 and a closed connection.
2023-08-30 10:07:18 +02:00
..
lib Remove `require 'io/wait'` where it's no longer necessary. (#6932) 2022-12-15 11:37:01 +13:00
.document
addrinfo.h Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
ancdata.c BasicSocket#recv* return `nil` rather than an empty packet 2023-08-30 10:07:18 +02:00
basicsocket.c Try `nil` as default for 'default timeout'. (#6509) 2022-10-08 14:02:34 +13:00
constants.c Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
depend [Feature #19719] Universal Parser 2023-06-12 18:23:48 +09:00
extconf.rb Update VPATH for socket, & dependencies 2023-04-06 11:07:16 +01:00
getaddrinfo.c Don't check for null pointer in calls to free 2023-06-30 09:13:31 -04:00
getnameinfo.c Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
ifaddr.c Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
init.c BasicSocket#recv* return `nil` rather than an empty packet 2023-08-30 10:07:18 +02:00
ipsocket.c Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
mkconstants.rb sockopt adding Linux constants, SO_INCOMING_CPU/SO_INCOMING_NAPI_ID. 2022-09-21 17:15:54 +09:00
option.c Add support for `sockaddr_un` on Windows. (#6513) 2022-11-17 14:50:25 -08:00
raddrinfo.c Add support for `sockaddr_un` on Windows. (#6513) 2022-11-17 14:50:25 -08:00
rubysocket.h BasicSocket#recv* return `nil` rather than an empty packet 2023-08-30 10:07:18 +02:00
socket.c Don't check for null pointer in calls to free 2023-06-30 09:13:31 -04:00
sockport.h
sockssocket.c Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
tcpserver.c Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
tcpsocket.c Expand tabs [ci skip] 2022-07-21 09:42:04 -07:00
udpsocket.c Try `nil` as default for 'default timeout'. (#6509) 2022-10-08 14:02:34 +13:00
unixserver.c Add support for `sockaddr_un` on Windows. (#6513) 2022-11-17 14:50:25 -08:00
unixsocket.c fix typo in comments / autodoc 2023-01-16 08:00:03 +09:00