Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Indentify if port is open Visual Basic 6

Posted on 2003-02-25
3
Medium Priority
?
165 Views
Last Modified: 2013-11-25
Hi, I’m trying to identify if a port is open for connect. I’m using VB 6, any comments will be appreciated.

The idea is I have 2 text boxes and 1 button.

Enter the ip and port number then click the button.

Then return true of false.

I’m at a loss

-cc
0
Comment
Question by:cscorbet
3 Comments
 

Expert Comment

by:merphie
ID: 8028114
The Code here should help you

http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=38673&lngWId=1

It's a personal firewall with example code.   This should give you enough information to monitor a port.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8972838
cscorbet, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Save as PAQ -- No Refund.

DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 9667979
PAQed - no points refunded (of 20)

Computer101
E-E Admin
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

571 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