I need to close a range of ports on a computer (1024 >>)
1. can I do it from VB ?
2. If yes , than how :-)
3. How many ports are there above 1024 ???
thnxs
Printable View
I need to close a range of ports on a computer (1024 >>)
1. can I do it from VB ?
2. If yes , than how :-)
3. How many ports are there above 1024 ???
thnxs
What type of port that you talking about? Winsock? or MSComm?
As for Winsock, I think the port number can grow up to 32,767 (I think so) and for MSComm it depands on your computer hardware.
You can use the For...Next loop to close it one by one. But this definately will be a long long way to do it. :(