Skip to content

Commit 32c733f

Browse files
authored
[DOC] Add some descriptions for options of Socket::tcp
1 parent 773d140 commit 32c733f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/socket/lib/socket.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,9 @@ class << self
635635
# The optional last argument _opts_ is options represented by a hash.
636636
# _opts_ may have following options:
637637
#
638-
# [:connect_timeout] specify the timeout in seconds.
638+
# [:resolv_timeout] specify the timeout of hostname resolution in seconds.
639+
# [:connect_timeout] specify the timeout of conncetion in seconds.
640+
# [:fast_fallback] enable Happy Eyeballs Version 2 ({RFC 8305}[https://datatracker.ietf.org/doc/html/rfc8305]) algorithm (Enabled by default).
639641
#
640642
# If a block is given, the block is called with the socket.
641643
# The value of the block is returned.

0 commit comments

Comments
 (0)