Skip to content

Windows platform

«interface»SolidSyslogResolverWinsockResolverWindows

File SolidSyslogWinsockResolver.h

FileList > Interface > SolidSyslogWinsockResolver.h

  • #include "SolidSyslogResolver.h"

Detailed Description

A blocking DNS resolver over Winsock getaddrinfo.

Resolve looks up the endpoint host as an IPv4 address (AF_INET) through a synchronous getaddrinfo call and writes it into the destination SolidSyslogAddress; the requested transport selects the socktype hint. A failed lookup returns false, so the caller's unresolved-host error path runs.

The caller must invoke WSAStartup before use and WSACleanup on shutdown; the library does not manage the Winsock lifecycle.

Public Functions Documentation

SolidSyslogWinsockResolver_Create

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

struct SolidSyslogResolver * SolidSyslogWinsockResolver_Create (
    void
) 


SolidSyslogWinsockResolver_Destroy

Release the pool slot.

void SolidSyslogWinsockResolver_Destroy (
    struct SolidSyslogResolver * base
) 



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