summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-04 22:19:33 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-04 22:19:33 +0000
commit4f39e639f4f73b417f6ba3c74dc2e7ab059bf028 (patch)
treefc2b1bba5102608d4c8053f3c93817e902e9e47f
parent0da23f4b5bb878bbf28aa2d0c407d04d0fcfb3d3 (diff)
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/socket/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index fa73dbb68a..00f3525f13 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -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