Can a VB6 prgm check to see if port 3389 is listening

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Problem/background:
My co. has hundreds of win2k term servers, some of them
with Citrix metaframe on them, at times the Citrix
machines are pingable, but TS and ICA client will not
connect. I wrote a program to scan thru a list to ping
the machines and it works great.

Question:
Is there a way to write a VB6 program to see if term
services is up and ready? Perhaps see if ports 3389 or
1494 is listening and if not send an email alert (which
my ping program does).

Mark Danner
LandAmerica Dallas Data Center
 
You can use WMI to query the Win32_TerminalService class to see if the
service is running. Check out
http://msdn.microsoft.com/library/d...s/termserv/termserv/win32_terminalservice.asp
as a starting point.


Problem/background:
My co. has hundreds of win2k term servers, some of them
with Citrix metaframe on them, at times the Citrix
machines are pingable, but TS and ICA client will not
connect. I wrote a program to scan thru a list to ping
the machines and it works great.

Question:
Is there a way to write a VB6 program to see if term
services is up and ready? Perhaps see if ports 3389 or
1494 is listening and if not send an email alert (which
my ping program does).

Mark Danner
LandAmerica Dallas Data Center

This posting is provided "AS IS" with no warranties, and confers no rights
 
Back
Top