1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove unimplemented parameter from comment

:resolv_timeout of TCPSocket.new is not implemented for now.
This commit is contained in:
Masaki Matsushita 2020-12-11 11:13:13 +09:00
parent 974e89ae07
commit 56918578ea

View file

@ -12,13 +12,12 @@
/*
* call-seq:
* TCPSocket.new(remote_host, remote_port, local_host=nil, local_port=nil, resolv_timeout: nil, connect_timeout: nil)
* TCPSocket.new(remote_host, remote_port, local_host=nil, local_port=nil, connect_timeout: nil)
*
* Opens a TCP connection to +remote_host+ on +remote_port+. If +local_host+
* and +local_port+ are specified, then those parameters are used on the local
* end to establish the connection.
*
* [:resolv_timeout] specify the name resolution timeout in seconds.
* [:connect_timeout] specify the timeout in seconds.
*/
static VALUE