ecsnet
Loading...
Searching...
No Matches
net_socket_t Struct Reference

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

Detailed Description

Represents a network socket. This struct encapsulates the socket's file descriptor, type, and address information.

Member Data Documentation

◆ addr

struct sockaddr_in net_socket_t::addr

The address associated with the socket.

◆ fd

int net_socket_t::fd

The socket file descriptor.

◆ type

socket_type_t net_socket_t::type

The type of the socket (TCP or UDP).


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