The socket and timeout configuration used by TLS socket contexts, listeners, and connections. More...
#include <tlssocket.h>
Data Fields | |
| uint32_t | connect_timeout_ms |
| uint32_t | handshake_timeout_ms |
| uint32_t | receive_timeout_ms |
| uint32_t | send_timeout_ms |
| uint32_t | idle_timeout_ms |
| size_t | receive_buffer_size |
| size_t | send_buffer_size |
| bool | reuse_address |
| bool | no_delay |
| bool | keep_alive |
| bool | dual_stack |
| bool | blocking |
The socket and timeout configuration used by TLS socket contexts, listeners, and connections.
| bool blocking |
Use blocking socket behavior when true.
| uint32_t connect_timeout_ms |
The socket connect timeout in milliseconds.
| bool dual_stack |
Enable IPv4/IPv6 dual-stack behavior where supported.
| uint32_t handshake_timeout_ms |
The TLS handshake timeout in milliseconds.
| uint32_t idle_timeout_ms |
The maximum idle timeout in milliseconds.
| bool keep_alive |
Enable TCP keep-alive behavior where supported.
| bool no_delay |
Enable TCP no-delay behavior where supported.
| size_t receive_buffer_size |
The requested socket receive buffer size in bytes.
| uint32_t receive_timeout_ms |
The socket receive timeout in milliseconds.
| bool reuse_address |
Enable address reuse on listener sockets.
| size_t send_buffer_size |
The requested socket send buffer size in bytes.
| uint32_t send_timeout_ms |
The socket send timeout in milliseconds.