How to open a port from vb.net 2005/2010

Hi

I want to see if a device at a given IP address on the LAN has a certain port open from VB.NET  (port 22, ssh in this case).

Is there a way in .NET framework (or winsock etc via apis if not) to just connect to an IP address and see if that port is open ?

I don't need to send anything, I just need to see if the port is listening and then close the connection.

thanks
LVL 8
plqAsked:
Who is Participating?
 
plqAuthor Commented:
Perfect !

0
All Courses

From novice to tech pro — start learning today.