From: "Luiz Rafael Culik Guimaraes" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: NETNAME and DJGPP Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Sun, 10 Jun 2001 07:48:59 -0300 NNTP-Posting-Host: 200.215.212.191 X-Trace: newsfeed.slurp.net 992170136 200.215.212.191 (Sun, 10 Jun 2001 05:48:56 CDT) NNTP-Posting-Date: Sun, 10 Jun 2001 05:48:56 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Dear friend > > The DJGPP library includes a function `gethostname' which will return > the machine's network name if network software is installed. > `gethostname' is available on many Unix and GNU/Linux systems as well. Thanks for the help. Btw, can you provide an small smaple of use of the 'gethostname' function -- Regards Luiz Rafael Culik