Struct rotor::mio::udp::UdpSocket
[−]
[src]
pub struct UdpSocket { // some fields omitted }
Methods
impl UdpSocket
fn v4() -> Result<UdpSocket, Error>
Returns a new, unbound, non-blocking, IPv4 UDP socket
fn v6() -> Result<UdpSocket, Error>
Returns a new, unbound, non-blocking, IPv6 UDP socket