|
-
Feb 9th, 2003, 10:07 PM
#1
Thread Starter
New Member
Block TCP ports with VB
how do i go about blocking tcp ports in vb6. I want to write a program, that will block various ports, such as http port, messenger port, etc... so that if a command button is pressed it will block a given port# until a button is clicked to unblock the port. thanks
Nathan
-
Feb 10th, 2003, 12:13 AM
#2
Look for more info on GetTcpTable and SetTcpEntry APIs
-
Feb 11th, 2003, 09:15 AM
#3
Thread Starter
New Member
I find that if i use the winsock control, and set the port with:
winsock1.localport = 8080
it errors with the message:
"address in use"
any suggestions?
Thanks,
Nathan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|