[][src]Function tcb::graph::communication::handshake::send_handshake

pub fn send_handshake(stream: &TcpStream, local_id: usize)

Sends a handshake message to a peer.

Arguments

stream - TCP stream to write the handshake message into.

local_id - Local peer's globally unique id.