How to block some port so the local computer can't use the port ?
Printable View
How to block some port so the local computer can't use the port ?
IPSec or TCP/IP filtering. You can't normally go that low level with VB. And using the Winsock control would be a really bad idea.
Josh, have you an idea how to block an IP/PORT ?
I'd buy a firewall to do it, I wouldn't try programming it myself.
I'm looking for a source in C or VB that can block packets and ridirect them. If anyone has any clue where i can find a prog like this, let me know.
JoshT is right, VB can't go that low-level unless you use the API (and I don't even know if that would work). Also, some ports are just reserved by Windows and AFAIK there's no way to redirect them period.