Detect active connections on RAS server

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.
 
M

Matt

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
 
M

matt.b.williams

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

Matt

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
 

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