I need help in my project, where I want to catch, read and forward some packets given to another application. Example: some packets is incoming for application MyApp on port 888. The another application is running on background and listening for communication with MyApp. If the server sends packet I need to catch it before it comes to MyApp and if data inside will include some special code, like "....server_echo" I need to destroy it. But if there isn't any special code, I need to forward it to MyApp.
It looks like a firewall application.
Thank you :-/