Skip to content

lwIP (Raw API) platform

«interface»SolidSyslogStreamLwipRawTcpStreamLwipRaw

Struct SolidSyslogLwipRawTcpStreamConfig

ClassList > SolidSyslogLwipRawTcpStreamConfig

Tunes SolidSyslogLwipRawTcpStream's bounded connect.

  • #include <SolidSyslogLwipRawTcpStream.h>
struct SolidSyslogLwipRawTcpStreamConfig
{
    SolidSyslogTcpConnectTimeoutFunction GetConnectTimeoutMs;
    void* ConnectTimeoutContext;
    SolidSyslogSleepFunction Sleep;
};

Public Attributes Documentation

ConnectTimeoutContext

Passed back to GetConnectTimeoutMs unchanged; NULL is fine.

void* SolidSyslogLwipRawTcpStreamConfig::ConnectTimeoutContext;


GetConnectTimeoutMs

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

SolidSyslogTcpConnectTimeoutFunction SolidSyslogLwipRawTcpStreamConfig::GetConnectTimeoutMs;


Sleep

Required; each connect-spin iteration sleeps through it so lwIP can advance the handshake.

SolidSyslogSleepFunction SolidSyslogLwipRawTcpStreamConfig::Sleep;

A NULL config or NULL Sleep falls back to NullStream.



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