How to drop packet Using C++?

Hi for all.
I want to drop packets using C ++ based on the destination IP address
For example: the packet to IP address will be drop.
Currently, I have captured packet network card using C++
If anyone have any links or comments, please share with me
thank you
Topic archived. No new replies allowed.