How can i connect if an internetconnection is true or false ??

I really don't know how it works.

And can somebody explain the Getcommstate or the Getcommmodemstate functions ??

You will help me a lot !!

Grumpie