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
@ -281,9 +281,9 @@ sock_connect(VALUE sock, VALUE addr)
|
|||||||
* begin # emulate blocking connect
|
* begin # emulate blocking connect
|
||||||
* socket.connect_nonblock(sockaddr)
|
* socket.connect_nonblock(sockaddr)
|
||||||
* rescue Errno::EINPROGRESS
|
* rescue Errno::EINPROGRESS
|
||||||
* IO.select(nil, [socket])
|
* IO.select(nil, [socket]) # wait 3-way handshake completion
|
||||||
* begin
|
* begin
|
||||||
* socket.connect_nonblock(sockaddr)
|
* socket.connect_nonblock(sockaddr) # check connection failure
|
||||||
* rescue Errno::EISCONN
|
* rescue Errno::EISCONN
|
||||||
* end
|
* end
|
||||||
* end
|
* end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user