请教大家:如果机器名为sComputerName的远程机器有两个IP,一个内网IP,一个外网IP,我在本地执行下面的函数,请问返回的IP是外网IP还是内网IP??谢谢指教!function ComputerNameToIP(sComputerName:String):String;
var
   WSAData: TWSAData;
   HostEnt: PHostEnt;
begin
    result:='';
    WSAStartup(2, WSAData);
    HostEnt := GetHostByName(PChar(sComputerName));
    if HostEnt <> nil then
    begin
        with HostEnt^ do
            result:= Format('%d.%d.%d.%d', [Byte(h_addr^[0]),        Byte(h_addr^[1]), Byte(h_addr^[2]), Byte(h_addr^[3])]);
    end;
    WSACleanup;
end;