[−][src]Module tox::toxcore::tcp::handshake
Handshake packets to establish a confirmed connection via
handshake using Diagram
Re-exports
pub use self::packet::*; |
pub use self::codec::*; |
Modules
codec | Codecs to deal with ClientHandshake and ServerHandshake in terms of tokio-io |
packet | Handshake packets to establish a confirmed connection via
handshake using |
Functions
create_client_handshake | Create a handshake from client to server |
handle_client_handshake | Handle received client handshake on the server side. Return secure::Channel, Client PK, server handshake |
handle_server_handshake | Handle received server handshake on the client side. |
make_client_handshake | Sends handshake to the server, receives handshake from the server and processes it |
make_server_handshake | Receives handshake from the client, processes it and sends handshake to the client |