from small one page howto to huge articles all in one place
 

search text in:





Poll
Which linux distribution do you use?







poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

195651

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252057

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

140922

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





PCAP_SET_TIMEOUT

Section: Misc. Reference Manual Pages (3PCAP)
Updated: 1 December 2015
Index Return to Main Contents
 

NAME

pcap_set_timeout - set the read timeout for a not-yet-activated capture handle  

SYNOPSIS

#include <pcap/pcap.h>

int pcap_set_timeout(pcap_t *p, int to_ms);
 

DESCRIPTION

pcap_set_timeout() sets the read timeout that will be used on a capture handle when the handle is activated to to_ms, which is in units of milliseconds.

The behavior, if the timeout isn't specified, is undefined. We recommend always setting the timeout to a non-zero value unless immediate mode is set, in which case the timeout has no effect.  

RETURN VALUE

pcap_set_timeout() returns 0 on success or PCAP_ERROR_ACTIVATED if called on a capture handle that has been activated.  

SEE ALSO

pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP), pcap_set_immediate_mode(3PCAP)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 10.3 ms