Hi, I was wondering if and how it is possible to fetch network data like Nighthawk does, I don't need anything special really, what flies through the sockets.
Only possible way I could think of was to set the DNS server to localhost and to listen on those ports, but that would work if I knew the ports.
from what I get here the packet sniffers gather information from the entire network, while I'd like to know how to do this on a pc that the program is running, also I seem to have given the wrong example for what I'd like to do.