Expand description
Types and operations related to sockets.
Structs§
- Connected
- Marker type for sockets bound to a specific remote.
- Open
- Marker type for sockets not bound to a specific remote.
- Recv
Result - Results from a receive operation.
- Send
Timestamp Token - Token used to recognize the corresponding send timestamp for a split send operation.
- Socket
- A UDP network socket.
- Timestamp
Data - Timestamps on a message returned by a socket.
Enums§
- General
Timestamp Mode - A timestamp mode usable on all sockets.
- Interface
Timestamp Mode - A timestamp mode for a specific hardware interface.
Functions§
- connect_
address - Open a socket connected to the given remote address.
- open_
interface_ ethernet - Open a network interface for ethernet traffic.
- open_
interface_ udp - Open a network interface for udp traffic over both ipv4 and ipv6
- open_
interface_ udp4 - Open a network interface for udp traffic over ipv4
- open_
interface_ udp6 - Open a network interface for udp traffic over ipv6
- open_ip
- Open a socket listening to a given ip address.
- open_
ipv4 - Open an ipv4 specific socket listening to a given ip address.
- open_
ipv6 - Open an ipv6 specific socket listening to a given ip address.