1
0
Fork 0
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:
akr 2009-03-04 22:19:33 +00:00
parent 0da23f4b5b
commit 4f39e639f4

View file

@ -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