title: Basic Packet sniffer written in python for kali linux is running slowly
body: <p>The program is supposed to print out raw bits in binary form and its not doing that :</p>
  
  <pre><code>import socket
  
  def main():
      conn=socket.socket(socket.AF_PACKET,socket.SOCK_RAW,socket.ntohs(3))
      data=conn.recvform(65500)
      print(data)
  main()
  </code></pre>
  
  <p>I don't generate any errors, but when I run the python sniffer app, it runs for several minutes and never prints out any binary bits of raw data as I would expect it to.</p>