new

TCPSocket.new(remote_host, remote_port, local_host=nil, local_port=nil)
Class Public methods

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.

doc_ruby_on_rails
2015-05-17 07:15:37
Comments
Leave a Comment

Please login to continue.