Ok this is the concept no actual code as of yet but that is comin along nicely so here we go.
What i want to do is make a executable that takes over a few null ports and listens for all incomin connections on those ports but being null it has to read the incoming packets and change to the senders desired port connection, by using new to kill the old one and create a new one, or the correct way kill the port the use new but... w.e way i do it, it also needs to be able to capture the packets and store them in a array or hash and be able to send packets back to the sender, and print them to the screen somehow. but if u got any ideas how i can accomplish any part of this, it would be greatly appreciated.
What i want to do is make a executable that takes over a few null ports and listens for all incomin connections on those ports but being null it has to read the incoming packets and change to the senders desired port connection, by using new to kill the old one and create a new one, or the correct way kill the port the use new but... w.e way i do it, it also needs to be able to capture the packets and store them in a array or hash and be able to send packets back to the sender, and print them to the screen somehow. but if u got any ideas how i can accomplish any part of this, it would be greatly appreciated.