Thanks!

I looked at gethostname() before, didn't realise this one exists.

Thanks for all the replies.

Regards
Cheng

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Myles Penlington
Sent: Wednesday, 2 August 2000 13:33
To: Multiple recipients of list delphi
Subject: RE: [DUG]: How to get Computer name via IP Address?


Windows socket functions gethostbyaddr()

Will need to use the correct unit.
Have a look at the TSocket also - this may do it for you as well.

Myles.

> -----Original Message-----
> From: Cheng Wei [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, August 02, 2000 1:11 PM
> To:   Multiple recipients of list delphi
> Subject:      [DUG]:  How to get Computer name via IP Address?
>
> Hi all,
>
> Can someone help me.
>
> I need to find the name of a computer by it's IP address over the network.
> I
> use staic IP addresses.
>
> Thanks in advance
> Cheng
>
> --------------------------------------------------------------------------
> -
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to