Skip to content

Posix platform

«interface»SolidSyslogDatagramPosixDatagramPosix

File SolidSyslogPosixDatagram.h

FileList > Interface > SolidSyslogPosixDatagram.h

  • #include "SolidSyslogExternC.h"

Detailed Description

UDP transport over a POSIX socket, for a UdpSender.

The datagram connect()s to the destination on its first SendTo (connected UDP) and turns on path-MTU discovery (IP_PMTUDISC_DO). SendTo then reports SENT, OVERSIZE (the datagram exceeds the path MTU, EMSGSIZE), or FAILED. MaxPayload returns the IPv6-safe default until connected, then tracks the discovered path MTU.

Public Functions Documentation

SolidSyslogPosixDatagram_Create

Create takes no config; an exhausted pool falls back to the shared NullDatagram, whose SendTo reports SENT so undeliverables are dropped rather than backing up the Store.

struct SolidSyslogDatagram * SolidSyslogPosixDatagram_Create (
    void
) 


SolidSyslogPosixDatagram_Destroy

Release the pool slot.

void SolidSyslogPosixDatagram_Destroy (
    struct SolidSyslogDatagram * base
) 



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