|
ecsnet
|
Represents a network socket. This struct encapsulates the socket's file descriptor, type, and address information. More...
#include <net_socket.h>
Public Attributes | |
| struct sockaddr_in | addr |
| socket_type_t | type |
| int | fd |
Represents a network socket. This struct encapsulates the socket's file descriptor, type, and address information.
| struct sockaddr_in net_socket_t::addr |
The address associated with the socket.
| int net_socket_t::fd |
The socket file descriptor.
| socket_type_t net_socket_t::type |
The type of the socket (TCP or UDP).