Skip to content

FreeRTOS-Plus-TCP platform

«interface»SolidSyslogResolverPlusTcpResolverPlusTcp

File SolidSyslogPlusTcpResolver.h

FileList > Interface > SolidSyslogPlusTcpResolver.h

  • #include "SolidSyslogExternC.h"

Detailed Description

A DNS resolver over FreeRTOS-Plus-TCP's FreeRTOS_getaddrinfo.

Resolve looks up the endpoint host as an IPv4 address through FreeRTOS_getaddrinfo and writes it, with the per-call port, into the destination SolidSyslogAddress; the requested transport selects the socktype hint (stream for TCP, datagram otherwise). A failed lookup returns false, so the caller's unresolved-host error path runs.

Public Functions Documentation

SolidSyslogPlusTcpResolver_Create

Create takes no config; an exhausted pool falls back to the shared NullResolver.

struct SolidSyslogResolver * SolidSyslogPlusTcpResolver_Create (
    void
) 


SolidSyslogPlusTcpResolver_Destroy

Release the pool slot.

void SolidSyslogPlusTcpResolver_Destroy (
    struct SolidSyslogResolver * base
) 



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