[ client/server | finger | whois | smtp mailer | port blocker ]
[ commands | index | overview ]
Port Blocker
This example is a basic port blocker. What it does is opens a port and monitors if for incoming connections. if someone tries to connect, it sends the remote user a message (of your choice) and then disconnects the remote machine.
I didn't feel like typing out the coding for this examples so i wont. Open the file and look at the coding. It should be able to show ya everything you need to know.
NOTE: this program could be turned into more of a firewall with the simple use of arrays.
Index