mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0da23f4b5b
commit
4f39e639f4
1 changed files with 2 additions and 2 deletions
|
@ -281,9 +281,9 @@ sock_connect(VALUE sock, VALUE addr)
|
|||
* begin # emulate blocking connect
|
||||
* socket.connect_nonblock(sockaddr)
|
||||
* rescue Errno::EINPROGRESS
|
||||
* IO.select(nil, [socket])
|
||||
* IO.select(nil, [socket]) # wait 3-way handshake completion
|
||||
* begin
|
||||
* socket.connect_nonblock(sockaddr)
|
||||
* socket.connect_nonblock(sockaddr) # check connection failure
|
||||
* rescue Errno::EISCONN
|
||||
* end
|
||||
* end
|
||||
|
|
Loading…
Reference in a new issue