MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
MXSocket Struct Reference

Cross-platform socket state used by the C API. More...

#include <MXNetwork/include/mxnetwork/mxsocket.h>

Public Attributes

socklen_t addrlen
 Length of the active address structure.
bool blocking
 True when the socket is in blocking mode.
struct sockaddr_in inet
 IPv4 address storage.
struct sockaddr_in6 inet6
 IPv6 address storage.
mx_socket_fd sockfd
 Underlying socket handle.
struct sockaddr_un sun
 UNIX-domain address storage.

Detailed Description

Cross-platform socket state used by the C API.

Definition at line 68 of file mxsocket.h.

Member Data Documentation

◆ addrlen

socklen_t MXSocket::addrlen

Length of the active address structure.

Definition at line 70 of file mxsocket.h.

◆ blocking

bool MXSocket::blocking

True when the socket is in blocking mode.

Definition at line 71 of file mxsocket.h.

◆ inet

struct sockaddr_in MXSocket::inet

IPv4 address storage.

Definition at line 73 of file mxsocket.h.

◆ inet6

struct sockaddr_in6 MXSocket::inet6

IPv6 address storage.

Definition at line 74 of file mxsocket.h.

◆ sockfd

mx_socket_fd MXSocket::sockfd

Underlying socket handle.

Definition at line 69 of file mxsocket.h.

◆ sun

struct sockaddr_un MXSocket::sun

UNIX-domain address storage.

Definition at line 72 of file mxsocket.h.


The documentation for this struct was generated from the following file: