Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-09-16
2
Medium Priority
?
290 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:plq
2 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 33694024
0
 
LVL 8

Author Closing Comment

by:plq
ID: 33699351
Perfect !

0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question