Struct anj_net_config_t

Struct Documentation

struct anj_net_config_t

Structure that contains configuration for creating a network socket.

A structure initialized with all zeroes (e.g. using memset()) is a valid, default configuration - it is used when NULL is passed to anj_net_create_ctx, and may also be used as a starting point for customizations.

If secure_socket_config is initialized with all zeros the connection will not use any kind of security.

Public Members

anj_net_socket_configuration_t raw_socket_config
anj_net_ssl_configuration_t secure_socket_config