Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

VB code to see if netstat foreign address is open

I need some vb code to see if a netstat foreign address exists

In otherwords, I want to see if there is a foreign address that is = servername:####
Avatar of Wayne Michael
Wayne Michael
Flag of United States of America image

mystring.indexOf("server:###") > 0

is what you are looking for.
maybe even mystring.toUpper.indexOf(....
Avatar of Larry Brister

ASKER

wrmichael,
  I have no frame of reference for what you posted.
How would I get mystring?
ASKER CERTIFIED SOLUTION
Avatar of Wayne Michael
Wayne Michael
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
Thanks