uses WinSock;
function FindComputer(ComputerName: string):boolean;
var
WSAData: TWSAData;
HostEnt: PHostEnt;
begin
Result := False;
WSAStartup(2, WSAData);
HostEnt := gethostbyname(PChar(ComputerName));
if HostEnt <> nil then Result := true;
WSACleanup;
end;