From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21535 invoked by alias); 28 Feb 2002 11:56:51 -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 21394 invoked from network); 28 Feb 2002 11:56:46 -0000 Received: from unknown (HELO doul.iservindia.com) (203.168.74.30) by sources.redhat.com with SMTP; 28 Feb 2002 11:56:46 -0000 Received: from naini.zyberway.com [203.168.74.249] by doul.iservindia.com with ESMTP (SMTPD32-7.05) id AC3E4D92011C; Thu, 28 Feb 2002 17:32:06 +0530 Message-ID: <-1000098896.1014896787299.JavaMail.root@naini.zyberway.com> From: snodx@hotmail.com To: gcc-help@gcc.gnu.org Subject: Re: IP ADDRESS OF MACHINE Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 28 Feb 2002 04:04:00 -0000 X-SW-Source: 2002-02/txt/msg00299.txt.bz2 Alright Mr Green, that was a nice point. Your post has made me refine my question a bit more. Maybe there are several interfaces installed on a system. BUT the interface through which an internet browser like Netscape Navigator or Lynx interacts with the Internet HAS to be after all one. I am talking about THIS IP Address that the system is using to talk to the internet. How does the internet browser access the Internet? I want a C/C++ program to detect THIS interface and display IT'S IP Address. That leads to the second part of your question is there a better place where this question can be posted. I think the best place would be where network issues are discussed. I shall indeed do so. I posted this question here because So now how do I obtain the TCP/IP Address of that interface through which an internet browser interacts? Thanks for the input anyway. SNODX