Article View: es.comp.os.linux.programacion
Article #12665Re: Direcci�n IP en C
From: Gonzalo Paniagua Javier
Date: Wed, 06 Jun 2001 11:17
Date: Wed, 06 Jun 2001 11:17
9 lines
1433 bytes
1433 bytes
Jos� Antonio P�rez S�nchez <zundrdragon@ono.com> escribi�: > :> Como puedo obtener la direcci�n Ip utilizando C/C++, > :> linux?????? > man gethostbyname Lo de "la direcci�n Ip" que preguntan lo entiendo como "la direcci�n IP local" por eso le envi� ese programa. Si sabes el nombre DNS de la m�quina claro que puedes usar gethostbyname(), pero si no lo sabes...
Technical Details
Message-ID:
<o53lf9.p01.ln@lalo.micasa>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.online.be!ams.uu.net!newsf01.!newsr01.ono.com.POSTED!not-for-mailReferences:
<agFS6.128877$nZ.7450426@telenews.teleline.es> <20010605112950.6fbffeb6.zundrdragon@ono.com>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,bc985d58543b0e85
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-06-06 04:17:16 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.online.be!ams.uu.net!newsf01.!newsr01.ono.com.POSTED!not-for-mail
From: Gonzalo Paniagua Javier <gpanjav@jazzfree.com>
Subject: Re: Direcci�n IP en C
Newsgroups: es.comp.os.linux.programacion
References: <agFS6.128877$nZ.7450426@telenews.teleline.es> <20010605112950.6fbffeb6.zundrdragon@ono.com>
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.4.5-ac7 (i586))
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <o53lf9.p01.ln@lalo.micasa>
Lines: 10
Date: Wed, 06 Jun 2001 11:17:34 GMT
NNTP-Posting-Host: 62.42.16.241
X-Trace: newsr01.ono.com 991826254 62.42.16.241 (Wed, 06 Jun 2001 13:17:34 MET DST)
NNTP-Posting-Date: Wed, 06 Jun 2001 13:17:34 MET DST