Windows Developer Magazine Online (www.wd-mag.com) -
[Cached Version]
Published on: 8/7/2002
Last Visited: 8/7/2002
Todd Anderson
I'm stuck using an ordinary phone connection to my ISP, since Time-Warner doesn't offer cable modems in my area and Bell Atlantic doesn't offer DSL.At various times during the day, I want to access something on the Internet, but only if the connection is active.If it's not active, I'll wait a few minutes for Outlook to make the connection or, if it's important, I'll dial myself.The RasMon program that comes with Windows kind of works, but it has several drawbacks: it shows the connection state only if you open the dialog, and every time it reconnects, RasMon steals the input focus as it displays the tooltip listing the connection rate.I wrote a utility called RasStat (see Figure 1) to provide quick visual feedback on the state of the dial-up connection and to dial without getting in my way.RasStat started out as a useful utility, but ended up being a tutorial on Win32's RAS (Remote Access Service) API.
...
Todd Anderson is a software engineer at Aperture Technologies, Inc. in Stamford, CT.He has a Bachelor of Science degree from the College of St. Rose in Albany, NY.He lives and works in Niskayuna, NY and can be reached at todd anderson@aperture.com.
Get Source Code
CMP BooksCopyright © 2002 Windows Developer Magazine, Privacy PolicyComments/webmaster: webmaster@wd-mag.com SDMG Websites: Byte, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, Sys Admin, SD Expo, SD Magazine, Unixreview, Windows Developer Magazine