GNUnet  0.20.0
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 53 of file network.c.

Field Documentation

◆ fd

◆ af

int GNUNET_NETWORK_Handle::af

Address family / domain.

Definition at line 60 of file network.c.

Referenced by GNUNET_NETWORK_socket_accept(), and open_socket().

◆ type

int GNUNET_NETWORK_Handle::type

◆ addrlen

socklen_t GNUNET_NETWORK_Handle::addrlen

◆ addr

struct sockaddr* GNUNET_NETWORK_Handle::addr

Address we were bound to, or NULL.

Definition at line 75 of file network.c.

Referenced by GNUNET_NETWORK_get_addr(), and GNUNET_NETWORK_socket_free_memory_only_().


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