|
Soletta™ Framework
|
Defines specific IP layer related behaviour of a socket instance. More...
#include <sol-socket.h>
Data Fields | |
| struct sol_socket_options | base |
| enum sol_socket_dtls_cipher * | cipher_suites |
If secure is true, this should be considered. More... | |
| uint16_t | cipher_suites_len |
If secure is true, this should be considered. More... | |
| enum sol_network_family | family |
| The family that should be used when creating the socket. More... | |
| bool | reuse_addr |
| Allow reuse of local addresses. More... | |
| bool | reuse_port |
| Allows multiple sockets to be bound to the same socket address. More... | |
| bool | secure |
| If the socket's data should be encrypted or not. More... | |
Defines specific IP layer related behaviour of a socket instance.
| struct sol_socket_options sol_socket_ip_options::base |
Referenced by startup_client(), and startup_server().
| enum sol_socket_dtls_cipher* sol_socket_ip_options::cipher_suites |
If secure is true, this should be considered.
It indicates which DTLS cipher suites are supported and could be used for communication.
| uint16_t sol_socket_ip_options::cipher_suites_len |
If secure is true, this should be considered.
It indicates the length of the cipher_suites array.
| enum sol_network_family sol_socket_ip_options::family |
The family that should be used when creating the socket.
| bool sol_socket_ip_options::reuse_addr |
Allow reuse of local addresses.
It is used by sol_socket_bind()
| bool sol_socket_ip_options::reuse_port |
Allows multiple sockets to be bound to the same socket address.
It is used by sol_socket_bind()
| bool sol_socket_ip_options::secure |
If the socket's data should be encrypted or not.
1.8.6