|
-
Mar 7th, 2007, 09:37 PM
#1
Thread Starter
Junior Member
Testing Access Method using Sockets (SSH,TELNET)
I need to parse a list of IPaddresses and determin if they are using SSH (port 22) or telnet (port 23). The best way I can think to do this is by attempting to open a socket (not the full connection). If port 22 is refused it's not SSH, then try port 23. The big problem is that there are 5000 entries in this list and I can't wait for the default timeout for each socket to determine the access method. That would be a total of 10,000 connection attempts and a complete waste of the users day!
Any help would be greatly appreciated.
P.S. I'm using VB 2005
Last edited by Tonyf84; Mar 12th, 2007 at 03:09 PM.
Reason: Adding Language
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
|