Ditto 4.5.2
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ditto::TcpListenConfig Class Reference

Part of the Listen config that relates to incoming TCP connections. More...

#include <TransportConfig.hpp>

Public Member Functions

bool operator== (const TcpListenConfig &other) const
 
bool operator!= (const TcpListenConfig &other) const
 

Public Attributes

bool enabled = false
 
std::string interface_ip = "0.0.0.0"
 
uint16_t port = 4040
 

Detailed Description

Part of the Listen config that relates to incoming TCP connections.

Member Data Documentation

◆ enabled

bool ditto::TcpListenConfig::enabled = false

Whether or not the TCP listen connection should be enabled.

◆ interface_ip

std::string ditto::TcpListenConfig::interface_ip = "0.0.0.0"

The IP interface to bind to. 0.0.0.0 by default.

◆ port

uint16_t ditto::TcpListenConfig::port = 4040

Listening port. 4040 by default.