libpcap 库使用(三)时间:2023-03-08 21:01:581.为了使收到的报文尽快给我们的处理程序,需要设置成immediate模式: int pcap_set_immediate_mode(pcap_t *p, int immediate_mode);