Skip to content

lwIP (Sockets API) platform

«interface»SolidSyslogStreamLwipSocketTcpStreamLwipSocket

Struct SolidSyslogLwipSocketTcpStreamConfig

ClassList > SolidSyslogLwipSocketTcpStreamConfig

Tunes SolidSyslogLwipSocketTcpStream's bounded connect.

  • #include <SolidSyslogLwipSocketTcpStream.h>
struct SolidSyslogLwipSocketTcpStreamConfig
{
    SolidSyslogTcpConnectTimeoutFunction GetConnectTimeoutMs;
    void* ConnectTimeoutContext;
};

Public Attributes Documentation

ConnectTimeoutContext

Passed back to GetConnectTimeoutMs unchanged; NULL is fine.

void* SolidSyslogLwipSocketTcpStreamConfig::ConnectTimeoutContext;


GetConnectTimeoutMs

Per-attempt connect deadline in ms; NULL uses the SOLIDSYSLOG_TCP_CONNECT_TIMEOUT_MS tunable.

SolidSyslogTcpConnectTimeoutFunction SolidSyslogLwipSocketTcpStreamConfig::GetConnectTimeoutMs;

A value beyond what the conversion to microseconds carries on a 32-bit target is bounded to 2147483 ms rather than overflowed.



The documentation for this class was generated from the following file Platform/LwipSocket/Interface/SolidSyslogLwipSocketTcpStream.h