Capture network traffic (C++, Qt, libpcap)