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

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
 
I

Ivan Leichtling [MSFT]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top