* adds proper cross-unix addrinfo record

git-svn-id: trunk@5457 -
This commit is contained in:
Almindor 2006-11-22 23:07:58 +00:00
parent e36786454d
commit 51647f0f4c

View File

@ -210,7 +210,11 @@ type
ai_family: cInt; {* PF_xxx *}
ai_socktype: cInt; {* SOCK_xxx *}
ai_protocol: cInt; {* 0 or IPPROTO_xxx for IPv4 and IPv6 *}
{$ifdef BSD}
ai_addrlen: socklen_t; {* length of ai_addr *}
{$else} // solaris and linux has this, fix if additional platforms added
ai_addrlen: size_t; {* length of ai_addr *}
{$endif}
ai_addr: psockaddr; {* binary address *}
ai_canonname: PChar; {* canonical name for hostname *}
ai_next: PAddrInfo; {* next structure in linked list *}