Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!



I've asked before for the code to detect if there was an active Internet connection, how to make it and how to hang it up....

The Make and Hang up part works perfectly, but the detection failed!

The procedure is to check for a specific value on the windows registry, but it didn't work...

Is there any other way?

thanks, Jehoshaphat


  • I think there's an API called EnumRasConnections or something like that. It lists the available connections. Maybe this will help you.

  • Go to the following address:

    There you'll have some code for checking an active internet connection.

    I hope it is what you need.

  • Andre YoungAndre Young USAMember Posts: 0

    ________ { } free video tutorials and ebooks about | Go, Assembly, Visual Basic .NET, Perl, PL/SQL, JavaScript, Java, Python, MATLAB, Ruby, Delphi, C++, C#, C, Scratch, PHP, Visual Basic, R, Swift, Objective-C Crystal, F#, Dart, Scheme, Awk, Lisp, Kotlin, ML, Alice, Hack, Ada, Logo, Transact-SQL, Lua, Julia, Prolog, COBOL, Apex, LabVIEW, FoxPro, Erlang, SAS, VBScript, ABAP, Rust, D, Bash, Clojure, Fortran, Scala | ____________

Sign In or Register to comment.