pcap_t *pcap_open_live(const char *device, int snaplen,
int promisc, int to_ms, char *errbuf)
pcap_open_live는 네트워크 상에 packet의 handler를 얻기위해 사용되는 함수이다.
blog of SilNex
pcap_open_live는 네트워크 상에 packet의 handler를 얻기위해 사용되는 함수이다.