Results 1 to 2 of 2

Thread: Closing Ports

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    264

    Cool

    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

    In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.

    - Douglas Adams
    The Hitchhiker's Guide to the Galaxy

  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Lightbulb

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width