阿
阿林
Unregistered / Unconfirmed
GUEST, unregistred user!
请问如何访问WinSock中PHostEnt结构中的h_aliases值
delphi定义WinSock如下
PHostEnt = ^THostEnt;
{$EXTERNALSYM hostent}
hostent = record
h_name: PChar;
h_aliases: ^PChar;
h_addrtype: Smallint;
h_length: Smallint;
case Byte of
0: (h_addr_list: ^PChar);
1: (h_addr: ^PChar)
end;
访问h_name可用PHostEnt^.h_name但若访问h_aliases该如何做?
先谢过各位了!
delphi定义WinSock如下
PHostEnt = ^THostEnt;
{$EXTERNALSYM hostent}
hostent = record
h_name: PChar;
h_aliases: ^PChar;
h_addrtype: Smallint;
h_length: Smallint;
case Byte of
0: (h_addr_list: ^PChar);
1: (h_addr: ^PChar)
end;
访问h_name可用PHostEnt^.h_name但若访问h_aliases该如何做?
先谢过各位了!