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.
Matt - 15 Dec 2005 18:58 GMT
> I am wondering if there is a way to programmatically detect active
> connections on a RAS server.
[quoted text clipped - 6 lines]
>
> 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
matt.b.williams@gmail.com - 15 Dec 2005 19:14 GMT
Unfortunately detecting the inbound detections is what I'm trying to
do. Sorry, I should have been more specific.
Matt - 15 Dec 2005 19:34 GMT
> 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