Ditto 1.1.3
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 = "[::]"
 
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 = "[::]"

The IP interface to bind to. [::] by default.

◆ port

uint16_t ditto::TcpListenConfig::port = 4040

Listening port. 4040 by default.