Add comments for resolv_timeout
This commit is contained in:
parent
511fe23fa2
commit
f2d1808e73
@ -12,11 +12,13 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* 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+
|
* 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
|
* and +local_port+ are specified, then those parameters are used on the local
|
||||||
* end to establish the connection.
|
* end to establish the connection.
|
||||||
|
*
|
||||||
|
* [:resolv_timeout] specify the name resolution timeout in seconds.
|
||||||
*/
|
*/
|
||||||
static VALUE
|
static VALUE
|
||||||
tcp_init(int argc, VALUE *argv, VALUE sock)
|
tcp_init(int argc, VALUE *argv, VALUE sock)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user