File SolidSyslogPosixDatagram.h¶
FileList > Interface > SolidSyslogPosixDatagram.h
Go to the source code of this file
UDP transport over a POSIX socket, for a UdpSender. More...
#include "ExternC.h"
Public Functions¶
| Type | Name |
|---|---|
| struct SolidSyslogDatagram * | SolidSyslogPosixDatagram_Create (void) 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. |
| void | SolidSyslogPosixDatagram_Destroy (struct SolidSyslogDatagram * base) Release the pool slot. |
Detailed Description¶
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¶
function 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.
function SolidSyslogPosixDatagram_Destroy¶
Release the pool slot.
The documentation for this class was generated from the following file Platform/Posix/Interface/SolidSyslogPosixDatagram.h