Rechercher une page de manuel
pcap_fileno.3pcap
Langue: en
Version: 5 April 2008 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
pcap_fileno - get the file descriptor for a live captureSYNOPSIS
#include <pcap/pcap.h> int pcap_fileno(pcap_t *p);
DESCRIPTION
pcap_fileno() returns the file descriptor number from which captured packets are read, if a network device was opened with pcap_create() and pcap_activate() or with pcap_open_live(), or -1, if a ``savefile'' was opened with pcap_open_offline().SEE ALSO
pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre