title: Raw Socket Sniffing in Golang
body: <p>I have a question concerning tcp packet sniffing with golang. 
  We have written a small tool which captures all incoming TCP packets comming from a fibre Tap. </p>
  
  <p>The current implementation uses a libpcap wrapper under Linux. We need to port this tool to Windows. Of course, it is not possible at the moment. </p>
  
  <p>So my question is, is there a cross platform solution for sniffing packets? We only need TCP packets, IP headers , no Ethernet Data and not all features of libpcap. </p>
  
  <p>If there is no cross platform solution, two Code implementation would be ok, too. I know one can use raw sockets under Linux (and with some limitations under Windows). Does Golang support raw sockets and is there an example implementation for sniffing packets with sockets? </p>
  
  <p>Tanks!! :-) </p>