Class Moped::Connection::Socket::TCP
In: lib/moped/connection/socket/tcp.rb
Parent: ::TCPSocket

This is a wrapper around a tcp socket.

Methods

new  

Included Modules

Connectable

Public Class methods

Initialize the new TCPSocket.

@example Initialize the socket.

  TCPSocket.new("127.0.0.1", 27017)

@param [ String ] host The host. @param [ Integer ] port The port.

@since 1.2.0

[Validate]