mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add comments for resolv_timeout
This commit is contained in:
parent
511fe23fa2
commit
f2d1808e73
1 changed files with 3 additions and 1 deletions
|
@ -12,11 +12,13 @@
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* TCPSocket.new(remote_host, remote_port, local_host=nil, local_port=nil)
|
||||
* TCPSocket.new(remote_host, remote_port, local_host=nil, local_port=nil, resolv_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.
|
||||
*/
|
||||
static VALUE
|
||||
tcp_init(int argc, VALUE *argv, VALUE sock)
|
||||
|
|
Loading…
Add table
Reference in a new issue