class Syslog::Transport::UDP6Transport

Public Class Methods

new(port_or_hostname, port = nil) click to toggle source
Calls superclass method Syslog::Transport::UDPTransport::new
# File lib/syslog/transport/udp6.rb, line 9
def initialize(port_or_hostname, port = nil)
  super (port.nil? ? '::' : port_or_hostname),
        (port.nil? ? port_or_hostname : port),
        Socket::AF_INET6
end