send

Function send 

Source
pub fn send(
    stream: &mut TcpStream,
    packet: MessagePacket,
    keys: Option<&SharedKeys>,
)