Skip to content

Commit

Permalink
Remove unimplemented parameter from comment
Browse files Browse the repository at this point in the history
:resolv_timeout of TCPSocket.new is not implemented for now.
  • Loading branch information
mmasaki committed Dec 11, 2020
1 parent 974e89a commit 5691857
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ext/socket/tcpsocket.c
Expand Up @@ -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
Expand Down

0 comments on commit 5691857

Please sign in to comment.