mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/basicsocket.c: [DOC] typo (Errno::AGAIN -> Errno::EAGAIN)
* ext/socket/socket.c: ditto * ext/socket/tcpserver.c: ditto * ext/socket/udpsocket.c: ditto * ext/socket/unixserver.c: ditto * io.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
370cadcced
commit
3876d75585
7 changed files with 22 additions and 8 deletions
|
@ -231,7 +231,7 @@ udp_send(int argc, VALUE *argv, VALUE sock)
|
|||
* UDPSocket#recvfrom_nonblock may raise any error corresponding to recvfrom(2) failure,
|
||||
* including Errno::EWOULDBLOCK.
|
||||
*
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::AGAIN,
|
||||
* If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
|
||||
* it is extended by IO::WaitReadable.
|
||||
* So IO::WaitReadable can be used to rescue the exceptions for retrying recvfrom_nonblock.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue