🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #7134

Re: libreria libpcap

#7134
From: Guillem Alminyana
Date: Tue, 01 Apr 2003 21:20
22 lines
1510 bytes
NEO wrote:

> Hola compa�eros.
> 
> Necesito ayuda.Alguien me podr�a explicar un poco como se utiliza la
> librer�a libpcap.

En la pagina siguiente te lo explica con ejemplos simples:

http://www.cet.nau.edu/~mc8/Socket/Tutorials/section1.html

Si quieres aprofundizar, con man pcap tienes todas las funciones de la
libreria. 

Para conocer los formatos de las cabeceras de los paquetes capturados, mira
las cabeceras de /usr/include/net, /usr/include/linux, y alguno mas que
hay.

Saludos.

-- 
galminyana_NO_BASURA_@telefonica.net
Technical Details
Message-ID: <b6cvq4$44dk6$1@ID-165466.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!162.red-80-36-231.pooles.rima-tde.NET!not-for-mail
References: <8791c2f6.0303312359.6c2ad84c@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,e8de60e319a91e4b
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-04-01 13:20:09 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!162.red-80-36-231.pooles.rima-tde.NET!not-for-mail
From: Guillem Alminyana <galminyana_NO_BASURA_@telefonica.net>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: libreria libpcap
Date: Tue, 01 Apr 2003 23:20:03 +0200
Organization: Casa
Lines: 22
Message-ID: <b6cvq4$44dk6$1@ID-165466.news.dfncis.de>
References: <8791c2f6.0303312359.6c2ad84c@posting.google.com>
NNTP-Posting-Host: 162.red-80-36-231.pooles.rima-tde.net (80.36.231.162)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
X-Trace: fu-berlin.de 1049232005 4339334 80.36.231.162 (16 [165466])
User-Agent: KNode/0.7.2