Expand description
Safe, idiomatic wrappers for OSAL networking APIs (sockets).
Structs§
- FdSet
- A set of file descriptors, for use with
select. - Socket
- A raw socket handle that ensures
OS_closeis called on drop. - Socket
Addr - A wrapper for a CFE/OSAL socket address.
- Socket
Prop - Properties of an OSAL socket.
- TcpListener
- A TCP socket server, listening for connections.
- TcpStream
- A TCP stream between a local and a remote socket.
- UdpSocket
- A UDP socket.
Enums§
- Socket
Domain - The domain of a socket.
- Socket
Shutdown Mode - Defines how to shut down a TCP stream.
- Timeout
- Timeout options for socket operations.
Functions§
- get_
host_ name - Gets the local machine’s network host name.
- get_
network_ id - Gets the OSAL-specific network ID of the local machine.
- get_
socket_ id_ by_ name - Finds an existing socket ID by its name.
- get_
socket_ info - Retrieves information about a socket.
- select_
multiple - Waits for events across multiple file handles with a relative timeout.
- select_
multiple_ abs - Waits for events across multiple file handles with an absolute timeout.
- select_
single - Waits for events on a single file handle with a relative timeout.
- select_
single_ abs - Waits for events on a single file handle with an absolute timeout.