class Net::LDAP::Connection::DefaultSocket

Wrap around Socket.tcp to normalize with other Socket initializers

Public Class Methods

new(host, port, socket_opts = {}) click to toggle source
# File lib/net/ldap/connection.rb, line 720
def self.new(host, port, socket_opts = {})
  Socket.tcp(host, port, **socket_opts)
end