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

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