Easiest way is to check if you can connect to a known site (e.g. Google). if the length of "Xttp://www.google.com" > 0 then -- we're connected else -- we're not connected end if (Change Xttp to http) "Nicholas Nginya" wrote > I am doing a cyber cafe billing system but how do i check for an internet > connection.