Detect active connections on RAS server

  • Thread starter Thread starter matt.b.williams
  • Start date Start date
M

matt.b.williams

I am wondering if there is a way to programmatically detect active
connections on a RAS server.

My situation is this. An app will be running on the RAS server. This
app will have a timer that runs constantly. On each tick, it will look
to see if any RAS connections have been established and will display
them. Any API's, registry entires, or other means by which I can do
this would be much appreciated.

Thanks in advance for any assistance.
 
I am wondering if there is a way to programmatically detect active
connections on a RAS server.

My situation is this. An app will be running on the RAS server. This
app will have a timer that runs constantly. On each tick, it will look
to see if any RAS connections have been established and will display
them. Any API's, registry entires, or other means by which I can do
this would be much appreciated.

Thanks in advance for any assistance.

Depends on what you are looking for. The RasEnumConnections function
of the API will list the outbound connections. I don't know of a way to
do
the inbound ones, off hand.

Matt
 
Unfortunately detecting the inbound detections is what I'm trying to
do. Sorry, I should have been more specific.
 
Unfortunately detecting the inbound detections is what I'm trying to
do. Sorry, I should have been more specific.

I haven't tried it, but these functions look promising. Specifically:

MprAdminConnectionGetInfo

matt
 
Back
Top