Skip to content

Commit 7126eb6

Browse files
committed
Added a note to the documentation of Socket.tcp
1 parent 36bab09 commit 7126eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/socket/lib/socket.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ def accept_nonblock(exception: true)
643643
#
644644
# [:resolv_timeout] Specifies the timeout in seconds from when the hostname resolution starts.
645645
# [:connect_timeout] This method sequentially attempts connecting to all candidate destination addresses.<br>The +connect_timeout+ specifies the timeout in seconds from the start of the connection attempt to the last candidate.<br>By default, all connection attempts continue until the timeout occurs.<br>When +fast_fallback:false+ is explicitly specified,<br>a timeout is set for each connection attempt and any connection attempt that exceeds its timeout will be canceled.
646-
# [:open_timeout] Specifies the timeout in seconds from the start of the method execution.<br>If this timeout is reached while there are still addresses that have not yet been attempted for connection, no further attempts will be made.
646+
# [:Specifies the timeout in seconds from the start of the method execution.<br>If this timeout is reached while there are still addresses that have not yet been attempted for connection, no further attempts will be made.<br>If this option is specified together with other timeout options, an +ArgumentError+ will be raised.
647647
# [:fast_fallback] Enables the Happy Eyeballs Version 2 algorithm (enabled by default).
648648
#
649649
# If a block is given, the block is called with the socket.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy