[Gambas-user] How to find out internet status

Ganesh Kumar bugcy013 at ...626...
Mon Apr 4 11:35:50 CEST 2011


Thanks for your kindly replay.

> another way may be found according to the following test:
> in my case, i am connected to the internet via wlan0. my eth0 isn't
> connected to anything. in a terminal:
> $ curl --interface wlan0 google.de
> returns some html, while
> $ curl --interface eth0 google.de
> throws "curl: (7) Couldn't bind to 'eth0'"
>
> but if i bring my inet connection with wlan0 down
> $ curl --interface eth0 google.de
> and
> $ curl --interface wlan0 google.de
> both will give "curl: (6) Couldn't resolve host 'google.de'"

I got one example program. I have to try How to execute code.

I am enabled the componet-->gb.net & gb.net.curl

program compiled successfully. and run the program not getting output..
.

/** How to execute code **/ My code.

http://pastebin.com/AyMP61JW

please guide me..


-Ganesh


-- 
Did I learn something today? If not, I wasted it.




More information about the User mailing list