Hi Alberto,
So this is a WebClietn you are trying to test?
What error do you get (exactly)?
>> Is there any other error string that can be received about an internet connection error?
It's unlikely that your program will be able to tell the difference between an unplugged cable, or a router turned off, or a dial-up connection not connected or whatever.
If you attempt to connect to a site, and the site is "not there" then it's "not there". From a program point of view there's not a lot of ways to interrogate "why it's not there?".
There is a different error you get if the _machine_ is there, but the _server_ on the machine is not listening on the port.
cheers
Bruce