sarebbe bello sapere in che linguaggio cmq (sotto win32) in linea di massima ti servirebbe tenere d'occhio queste api RasGetConnectStatus e RasEnumConnections "rasapi32.dll"