UDPSocket represents a UDP/IP socket.
udpsocket.bind(host, port) #=> 0 Instance Public methods Binds udpsocket
UDPSocket.new([address_family]) => socket Class Public methods Creates a
udpsocket.send(mesg, flags, host, port) => numbytes_sentudpsocket.send(mesg, flags, sockaddr_to) => numbytes_sentudpsocket.send(mesg, flags)
udpsocket.connect(host, port) => 0 Instance Public methods Connects udpsocket
udpsocket.recvfrom_nonblock(maxlen) => [mesg, sender_inet_addr]udpsocket.recvfrom_nonblock(maxlen, flags) => [mesg, sender_inet_addr]