NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
websocketpp::transport::asio::socket::error Namespace Reference

The transport::asio::socket::* classes are a set of security/socket related policies and support code for the ASIO transport types. More...

Enumerations

enum  value {
  security = 1, socket, invalid_state, invalid_tls_context,
  tls_handshake_timeout, pass_through, missing_tls_init_handler, tls_handshake_failed,
  tls_failed_sni_hostname
}
 

Detailed Description

The transport::asio::socket::* classes are a set of security/socket related policies and support code for the ASIO transport types.

Errors related to asio transport sockets

Enumeration Type Documentation

◆ value

Enumerator
security 

Catch-all error for security policy errors that don't fit in other categories.

socket 

Catch-all error for socket component errors that don't fit in other categories.

invalid_state 

A function was called in a state that it was illegal to do so.

invalid_tls_context 

The application was prompted to provide a TLS context and it was empty or otherwise invalid.

tls_handshake_timeout 

TLS Handshake Timeout.

pass_through 

pass_through from underlying library

missing_tls_init_handler 

Required tls_init handler not present.

tls_handshake_failed 

TLS Handshake Failed.

tls_failed_sni_hostname 

Failed to set TLS SNI hostname.

Definition at line 76 of file base.hpp.