Crate machnet

Source

Structs§

MachnetChannel
MachnetFlow

Functions§

machnet_attach
Creates a new channel to the Machnet controller and binds to it. A channel is a logical entity between an application and the Machnet service.
machnet_connect
Establishes a Machnet connection using the provided chanenel.
machnet_init
Initializes the Machnet library for interacting with the Machnet sidecar. This function sets up the necessary components to allow communication and control over the Machnet sidecar. It should be called before making any other calls to the Machnet library.
machnet_listen
Listens for incoming messages on a specified local IP address and port.
machnet_recv
Receives a pending message from a remote peer over the network. This function attempts to receive data from a specified Machnet channel. It uses the provided Machnet channel (channel) and fills the given buffer (buf) with the received data. The flow parameter will be populated with the flow information of the sender.
machnet_send
Enqueues a message for transmission to a remote peer over the network.