Search code examples
c++packetiptc

How drop packet with libiptc in c++?


Is there a way to drop packets with libiptc c++?,i want a sample code for drop packet with libiptc in c++.


Solution

  • for this you should write a driver. for example you can use main_hook function.