mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 17:49:43 +02:00
* adds proper cross-unix addrinfo record
git-svn-id: trunk@5457 -
This commit is contained in:
parent
e36786454d
commit
51647f0f4c
@ -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 *}
|
||||
|
Loading…
Reference in New Issue
Block a user