File SolidSyslogWinsockResolver.h¶
FileList > Interface > SolidSyslogWinsockResolver.h
Go to the source code of this file
A blocking DNS resolver over Winsock getaddrinfo. More...
#include "SolidSyslogResolver.h"
Public Functions¶
| Type | Name |
|---|---|
| EXTERN_C_BEGIN struct SolidSyslogResolver * | SolidSyslogWinsockResolver_Create (void) Create takes no config; an exhausted pool falls back to the shared NullResolver. |
| void | SolidSyslogWinsockResolver_Destroy (struct SolidSyslogResolver * base) Release the pool slot. |
Detailed Description¶
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¶
function SolidSyslogWinsockResolver_Create¶
Create takes no config; an exhausted pool falls back to the shared NullResolver.
function SolidSyslogWinsockResolver_Destroy¶
Release the pool slot.
The documentation for this class was generated from the following file Platform/Windows/Interface/SolidSyslogWinsockResolver.h