On Tue, 14 Mar 2006, P?teris B?rzs-B?rzi?? wrote:
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.
Use the netdb unit.
The testdns program shows you how to do it.
Or the resolver unit.
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives