Skip to content

lwIP (Sockets API) platform

«interface»SolidSyslogAddressLwipSocketAddressLwipSocket

File SolidSyslogLwipSocketAddress.h

FileList > Interface > SolidSyslogLwipSocketAddress.h

  • #include "SolidSyslogExternC.h"

Detailed Description

An lwIP Sockets destination-address handle wrapping struct sockaddr_in.

A Resolver writes the resolved IPv4 endpoint into it; a Datagram or Stream reads it back to send. It is a value slot the two sides share, not a vtable object.

Needs an lwIP built with LWIP_SOCKET. Asking for the class without it is a link error.

Public Functions Documentation

SolidSyslogLwipSocketAddress_Create

Draw one per sender from the pool (SOLIDSYSLOG_ADDRESS_POOL_SIZE); on exhaustion Create returns a shared TU-private singleton, so integrators that overflow the pool share that storage and race on it.

struct SolidSyslogAddress * SolidSyslogLwipSocketAddress_Create (
    void
) 


SolidSyslogLwipSocketAddress_Destroy

Release the pool slot.

void SolidSyslogLwipSocketAddress_Destroy (
    struct SolidSyslogAddress * base
) 



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