TcpConnectionConfig Struct Reference

Space-ng SDK: sol3::net::TcpConnectionConfig Struct Reference
Space-ng SDK
sol3::net::TcpConnectionConfig Struct Reference

#include <sol3/net/tcp_connection.h>

Public Attributes

TcpConnectionId id
 
size_t read_buffer_bytes {}
 
bool automatic_read {true}
 
bool graceful_eof {false}
 
std::chrono::steady_clock::duration sample_kernel_queue_period
 

Member Data Documentation

◆ automatic_read

bool sol3::net::TcpConnectionConfig::automatic_read {true}

◆ graceful_eof

bool sol3::net::TcpConnectionConfig::graceful_eof {false}

If true, a peer closing the connection (read EOF) is a normal disconnect, not a read error. Independent of message framing.

◆ id

TcpConnectionId sol3::net::TcpConnectionConfig::id

◆ read_buffer_bytes

size_t sol3::net::TcpConnectionConfig::read_buffer_bytes {}

◆ sample_kernel_queue_period

std::chrono::steady_clock::duration sol3::net::TcpConnectionConfig::sample_kernel_queue_period

The documentation for this struct was generated from the following file: