Link to home
Start Free TrialLog in
Avatar of cscorbet
cscorbet

asked on

Indentify if port is open Visual Basic 6

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
Avatar of merphie
merphie

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.
Avatar of DanRollins
cscorbet, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Save as PAQ -- No Refund.

DanRollins -- EE database cleanup volunteer
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial