From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12703 invoked by alias); 26 Feb 2002 12:41:13 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 12620 invoked from network); 26 Feb 2002 12:41:05 -0000 Received: from unknown (HELO protactinium.btinternet.com) (194.73.73.176) by sources.redhat.com with SMTP; 26 Feb 2002 12:41:05 -0000 Received: from host217-35-33-194.in-addr.btopenworld.com ([217.35.33.194] helo=sknet01) by protactinium.btinternet.com with esmtp (Exim 3.22 #8) id 16fgum-0005fl-00; Tue, 26 Feb 2002 12:41:04 +0000 From: "Stephano Mariani" To: , Subject: RE: IP ADDRESS OF MACHINE Date: Tue, 26 Feb 2002 05:46:00 -0000 Message-ID: <000c01c1bec2$e18b4c20$01000001@sknet01> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <-125095592.1014721227337.JavaMail.root@naini.zyberway.com> Importance: High X-SW-Source: 2002-02/txt/msg00267.txt.bz2 See `man gethostbyname` > -----Original Message----- > From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On Behalf Of snodx@hotmail.com > Sent: Tuesday, 26 February 2002 11 16 > To: gcc-help@gcc.gnu.org > Subject: Re: IP ADDRESS OF MACHINE > > I am working on a standalone computer. This is why I said that I dont > know whether there is a NetWork card installed and configured. I just set > the IP Address using the /bin/netconf utility > > So I wish to obtain my standalone computer's IP Address through a > C/C++ program. What function should I use for this? > > SNODX