aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <SocketOptions.h>
Socket configuration options
Aws::Crt::Io::SocketOptions::SocketOptions | ( | ) |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
Set connection timeout
timeout | connection timeout in milliseconds. |
Set keep alive option.
keepAlive | True, periodically transmit keepalive messages for detecting a disconnected peer. |
Set keep alive interval seconds.
keepAliveInterval | Duration, in seconds, between keepalive probes. If 0, then a default value is used. |
Set keep alive max failed probes.
maxProbes | The number of keepalive probes allowed to fail before a connection is considered lost. |
Set keep alive time out seconds.
keepAliveTimeout | interval, in seconds, that a connection must be idle for before keep alive probes begin to get sent out |
|
inline |
Set socket domain
domain | SocketDomain object. |
|
inline |
Set socket type
type | SocketType object. |