[Winpcap-users] Re: how to get libpcap to use a larger socket buffer

David Chang dchang at fsautomation.com
Sat Nov 18 04:38:30 GMT 2006


Hi,

I have an application that uses libpcap to capture network traffic.  When the traffic volume is light, it works fine.  When the traffic gets heavier, libpcap indicates I'm dropping packets.  Is there a way to use setsockopt() to increase SO_RCVBUF on the pcap_t handle opened by pcap_open_live()?  To say it another way, how can I get libpcap to use a larger receive socket buffer if I'm able to increase that parameter in the Operating System?

DC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20061118/aadc45cc/attachment.htm


More information about the Winpcap-users mailing list