mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Fix typo in ext/socket/socket.c [ci skip]
This commit is contained in:
parent
4e2e1d6093
commit
46b5b51cc6
Notes:
git
2021-02-04 13:30:21 +09:00
1 changed files with 2 additions and 2 deletions
|
@ -330,7 +330,7 @@ rsock_sock_s_socketpair(int argc, VALUE *argv, VALUE klass)
|
||||||
* * Errno::EOPNOTSUPP - the calling +socket+ is listening and cannot be connected
|
* * Errno::EOPNOTSUPP - the calling +socket+ is listening and cannot be connected
|
||||||
* * Errno::EPROTOTYPE - the _sockaddr_ has a different type than the socket
|
* * Errno::EPROTOTYPE - the _sockaddr_ has a different type than the socket
|
||||||
* bound to the specified peer address
|
* bound to the specified peer address
|
||||||
* * Errno::ETIMEDOUT - the attempt to connect time out before a connection
|
* * Errno::ETIMEDOUT - the attempt to connect timed out before a connection
|
||||||
* was made.
|
* was made.
|
||||||
*
|
*
|
||||||
* On unix-based systems if the address family of the calling +socket+ is
|
* On unix-based systems if the address family of the calling +socket+ is
|
||||||
|
@ -371,7 +371,7 @@ rsock_sock_s_socketpair(int argc, VALUE *argv, VALUE klass)
|
||||||
* * Errno::EHOSTUNREACH - no route to the network is present
|
* * Errno::EHOSTUNREACH - no route to the network is present
|
||||||
* * Errno::ENOBUFS - no buffer space is available
|
* * Errno::ENOBUFS - no buffer space is available
|
||||||
* * Errno::ENOTSOCK - the +socket+ argument does not refer to a socket
|
* * Errno::ENOTSOCK - the +socket+ argument does not refer to a socket
|
||||||
* * Errno::ETIMEDOUT - the attempt to connect time out before a connection
|
* * Errno::ETIMEDOUT - the attempt to connect timed out before a connection
|
||||||
* was made.
|
* was made.
|
||||||
* * Errno::EWOULDBLOCK - the socket is marked as nonblocking and the
|
* * Errno::EWOULDBLOCK - the socket is marked as nonblocking and the
|
||||||
* connection cannot be completed immediately
|
* connection cannot be completed immediately
|
||||||
|
|
Loading…
Reference in a new issue