views:

51

answers:

1

I want to capture ip packages on one server, and then forward the packages to another server by libnet, who has some examples ? thanks in advance.

+1  A: 

Check out these tutorials:

Programming with pcap

Libnet 1.1 tutorial for beginners

If you have code fragments that are not working, please include.

Edward Leno
thanks! it is useful for me!
why