Article View: es.comp.os.linux.programacion
Article #13060Re: Como consultar la tabla de ruta
From: Jose A
Date: Mon, 23 Apr 2001 14:29
Date: Mon, 23 Apr 2001 14:29
21 lines
1467 bytes
1467 bytes
Hola otra vez
On Sat, 21 Apr 2001 05:13:39 +0200, Jose A <MAQUI000@NOSPAM.teleline.es> wrote:
Aqu� el "htons(ETH_P_ARP)", se puede sustituir por "0".
> if ((s = socket (AF_INET, SOCK_PACKET, htons(ETH_P_ARP))) < 0) {
Esto se me colo, no se tiene que poner.
> optval = 1;
> if (setsockopt (s, SOL_SOCKET, SO_BROADCAST, &optval, sizeof(optval)) < 0) {
> perror ("setsockopt");
> exit (1);
> }
espero que te sirva
saludos.
ludos.
Technical Details
Message-ID:
<slrn9e8f24.ms.MAQUI000@localhost.localdomain>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.bcn.ttd.net!MAQUI000References:
<9auodd$763l7$1@ID-81973.news.dfncis.de> <BzDA6.108828$YO6.1710374@telenews.teleline.es> <9bo2i5$a0u4s$1@ID-81973.news.dfncis.de> <slrn9e1umu.ur.MAQUI000@localhost.localdomain>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f86c8,a567ac715dea76c4 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2001-04-23 09:06:37 PST Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.bcn.ttd.net!MAQUI000 From: MAQUI000@NOSPAM.teleline.es (Jose A) Newsgroups: es.comp.os.linux.programacion Subject: Re: Como consultar la tabla de ruta Date: Mon, 23 Apr 2001 14:29:25 +0000 Organization: Telefonica Transmision de Datos Lines: 21 Message-ID: <slrn9e8f24.ms.MAQUI000@localhost.localdomain> References: <9auodd$763l7$1@ID-81973.news.dfncis.de> <BzDA6.108828$YO6.1710374@telenews.teleline.es> <9bo2i5$a0u4s$1@ID-81973.news.dfncis.de> <slrn9e1umu.ur.MAQUI000@localhost.localdomain> NNTP-Posting-Host: 212-170-162-233.uc.nombres.ttd.es Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: slrn/0.9.6.4 (Linux)