module IO::Endpoint
def self.udp(*arguments, **options)
-
(HostEndpoint)-
Parameters:
-
options() -- keyword arguments passed on to {HostEndpoint#initialize} -
arguments() -- nodename, service, family, socktype, protocol, flags. `socktype` will be set to Socket::SOCK_DGRAM.
def self.udp(*arguments, **options) arguments[3] = ::Socket::SOCK_DGRAM HostEndpoint.new(arguments, **options) end