Fierst of all as i can see here http://community.freepascal.org:10000/docs-html/rtl/unix/gethostname Gethostname gets hostname of the local mashine. Second Unit is called "Unix" so i gess it works anly in Linux/Unix. Is there some cross platform implemenation.
PBB -----Original Message----- From: ik [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 11:55 AM To: [email protected] Subject: Re: [lazarus] Determine Host Name of the remote computer by IP On Tuesday 14 March 2006 11:15, Pēteris Bērzs-Bērziņš wrote: > > Can someone give me tip how to determine Host name of the remoutre computer > using IP adres. Well, gethostname can help you, but, it depands on what domain name you are trying to have... For example, a computer can have several domain names (virtual host for example), and you can not have them all. There are full programs such as dig that does just that (try to get the host names on a given IP). > > PBB > > Ido -- "The PROPER way to handle HTML postings is to cancel the article, then hire a hitman to kill the poster, his wife and kids, and fuck his dog and smash his computer into little bits. Anything more is just extremism." -- Paul Tomblin _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
