Results 1 to 15 of 15

Thread: open ports

  1. #1

    Thread Starter
    Hyperactive Member zer0_flaw's Avatar
    Join Date
    Apr 2001
    Posts
    448

    open ports

    What's the API code to find all ports that are currently open?

  2. #2
    Lively Member
    Join Date
    Aug 2001
    Posts
    109
    i need this code as well...

  3. #3
    noGuru
    Guest
    EnumPorts shows you all available ports on the machine, if this will help you. It showed me the following available ports on my machine: COM1,COM2,COM3,COM4,file and LPT1.

  4. #4

    Thread Starter
    Hyperactive Member zer0_flaw's Avatar
    Join Date
    Apr 2001
    Posts
    448
    That's not quite what I'm looking for. I don't mean ports in that respect... I want ports such as 25 (smnp), 23 (telnet), 21 (ftp), and others like that. There are 65535 total ports on a comp =] Thanks for any help in advance. Later,

    -zer0 flaw

  5. #5
    Fanatic Member
    Join Date
    May 2001
    Posts
    525
    hmmmmm... this post doesn't give me a funny feeling of suspicion at alllllllllll...........

  6. #6

    Thread Starter
    Hyperactive Member zer0_flaw's Avatar
    Join Date
    Apr 2001
    Posts
    448
    Bleh, if you don't trust me then don't post. heh

  7. #7
    DaoK
    Guest
    I do not think you can see information about port with VB....

  8. #8

    Thread Starter
    Hyperactive Member zer0_flaw's Avatar
    Join Date
    Apr 2001
    Posts
    448
    nm, I figured it out on my own. heh, you can figure out a TON of info about ports =]

  9. #9
    Lively Member
    Join Date
    Aug 2001
    Posts
    109
    mind sharing with me how u did this? thx

  10. #10
    Junior Member
    Join Date
    Oct 2001
    Posts
    17

    Question need similar info

    i am also looking for a similar info...how do i make my application use one specific port number to work on a vpn. and maybe someone can also tell me how do i detect browser's proxy settings...or use specific proxy settings..

    i know this is asking too much..but i need the info very urgently.

    any help would be highly appreciated




    _______________________________
    Life is a ***** and u make it worse when you work with VB.....VB leaves me weeping...all the time ...everytime

  11. #11
    Addicted Member
    Join Date
    Nov 2001
    Posts
    154

    Re: need similar info

    sock.LocalPort = 2346
    sock.Listen



    2346 is the port you want to be opened up
    make sure you have winsock control in your project

  12. #12
    Junior Member
    Join Date
    Oct 2001
    Posts
    17

    Cool Re: need similar info

    hi coolone

    thanx for the info, that was something i needed ...
    thanx once again



    _____________________________________________
    VB leaves me weeping
    all the time ....everytime..

  13. #13
    Addicted Member
    Join Date
    Nov 2001
    Posts
    154
    k np just make sure on program close you close the ports wanna make it as safe for the user =)

  14. #14
    Junior Member
    Join Date
    Oct 2001
    Posts
    17

    Smile re: need similar info

    yeah sure..
    i will remember that..will give it a try
    thanx again










    ____________________________________
    VB LEAVES A SOUL WEEPING

  15. #15
    Junior Member
    Join Date
    Oct 2001
    Posts
    17

    Question open ports

    Originally posted by zer0_flaw
    nm, I figured it out on my own. heh, you can figure out a TON of info about ports =]
    do you mind sharing what have you figured out that we can do thro vb to use ports in our application...

    thanx in advance

    dev

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