pub async fn send( w: &SharedWriter, msg_code: u64, payload: &[u8], ) -> Result<usize>
Send one message; returns the bytes written.