Results 1 to 3 of 3

Thread: Testing ports

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 1999
    Posts
    33

    Post

    Im intrested in making a project that allows a user to scan his own ip address for open ports. The trouble is i dont know how i would go about opening the ip address and actually checking to see if the port is open or not. Any help would be greatly appreciated Thanks =)

    ------------------

  2. #2
    Lively Member
    Join Date
    Nov 1999
    Location
    Melbourne, Victoria, Australia
    Posts
    126

    Post

    Start, Programs, DOS Prompt
    Type in: netstat -a

    That will show you all the open ports, no idea how to do it via winsock though.

    ------------------
    Regards,

    Paul Rivoli
    -------------------
    [email protected]
    http://users.bigpond.com/privoli

  3. #3
    Addicted Member
    Join Date
    Jan 1999
    Posts
    173

    Post

    I think it would be a case of trying to open a connection on each port and if an error is raised then you can be sure that it is open.

    ------------------
    "To the glory of God!"

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