Skip to content

File SolidSyslogPlusTcpResolver.h

FileList > Interface > SolidSyslogPlusTcpResolver.h

Go to the source code of this file

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

  • #include "ExternC.h"

Public Functions

Type Name
struct SolidSyslogResolver * SolidSyslogPlusTcpResolver_Create (void)
Create takes no config; an exhausted pool falls back to the shared NullResolver.
void SolidSyslogPlusTcpResolver_Destroy (struct SolidSyslogResolver * base)
Release the pool slot.

Detailed Description

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

function SolidSyslogPlusTcpResolver_Create

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

struct SolidSyslogResolver * SolidSyslogPlusTcpResolver_Create (
    void
) 


function 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