class Async::IO::UDPSocket
Asynchronous UDP socket wrapper.
Public Class Methods
new(family)
click to toggle source
Calls superclass method
# File lib/async/io/udp_socket.rb, line 31 def initialize(family) if family.is_a? ::UDPSocket super(family) else super(::UDPSocket.new(family)) end end