pub fn send_event<T>(
    event: &NetEvent<T>,
    addr: &SocketAddr,
    socket: &mut UdpSocket
)where
    T: Serialize,
Expand description

Sends an event to the target NetConnection using the provided network Socket. The socket has to be bound.