Module networking

Source
Expand description

Networking code for sending and receiving fixed size Vec<u8> between machines.

Structs§

MessageHeader
Framing data for each Vec<u8> transmission, indicating a typed channel, the source and destination workers, and the length in bytes.
MessageHeaderContainer
Derived columnar container for a struct.
MessageHeaderReference
Derived columnar reference for a struct.

Functions§

await_connections
Result contains connections [my_index + 1, addresses.len() - 1].
create_sockets
Creates socket connections from a list of host addresses.
start_connections
Result contains connections [0, my_index - 1].