Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / December 2005

Tip: Looking for answers? Try searching our database.

Detect active connections on RAS server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
matt.b.williams@gmail.com - 15 Dec 2005 17:09 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.