title: How does an application like Wireshark work?
body: <p>Im am wondering how wireshark functions. What would be the design of an application that could listen to the traffic on all ports of a given machine? What is the kind of overheard that such an application generates? What would be a good way to go about writing an app that monitors traffic?</p>
  
  <p>Thanks</p>