a simple network capture in go.
now it support capture tcp,udp, any port you want.
it default capture udp, any port
./gocap
you can designation the protocol and port
./gocap -protocol "tcp" -port 8080
you can designation the pcap name
./gocap -filename "udp.pcap"
``