GNUnet 0.22.1
GNUNET_NETWORK_Handle Struct Reference

handle to a socket More...

Data Fields

int fd
 
int af
 Address family / domain. More...
 
int type
 Type of the socket. More...
 
socklen_t addrlen
 Number of bytes in addr. More...
 
struct sockaddr * addr
 Address we were bound to, or NULL. More...
 

Detailed Description

handle to a socket

Definition at line 52 of file network.c.

Field Documentation

◆ fd

◆ af

int GNUNET_NETWORK_Handle::af

◆ type

int GNUNET_NETWORK_Handle::type

Type of the socket.

Definition at line 64 of file network.c.

Referenced by GNUNET_NETWORK_socket_bind().

◆ addrlen

socklen_t GNUNET_NETWORK_Handle::addrlen

Number of bytes in addr.

Definition at line 69 of file network.c.

Referenced by GNUNET_NETWORK_get_addrlen(), GNUNET_NETWORK_socket_bind(), and GNUNET_NETWORK_socket_recvfrom().

◆ addr

struct sockaddr* GNUNET_NETWORK_Handle::addr

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