Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

getaddrinfo

function getaddrinfo(nodename, servname: PAnsiChar; hints: PAddrInfo; var res: PAddrInfo): Integer; stdcall; external ws2_32 name 'getaddrinfo';
These two return the error code directly - see the note at the top of the unit - and getaddrinfo's result list is freed with freeaddrinfo.