I think the Arduino WiFi shield doesn't have that kind UART communication facility everything needs to work through its library!The biggest thing working with a ARduino WiFi shield is its cost at the very first time I was turned down with it, Learning to work with something which will hardly have any end product place is not good , and in case of Arduino WiFi shield this is the case because of its cost, I that's why picked up a RN-171 and Now im eyeing that very cheap TIcc3000 chip that can go upto $10 for 1000 pcs that's pretty cheap when it comes to connecting anything to the Internet!

Thanks for your reply NI$HANT. I am working on a project that will be cost effective and potentially have more functionality if I used arduino wifi shield. I am more confident with Arduino team's ability to write a decent firmware and library than other makers also.

// if more than 10000 milliseconds since the last packet if(connectLoop > 10000) { // then close the connection from this end. Serial.println(); Serial.println(F("Timeout")); client.stop(); } // this is a delay for the connectLoop timing delay(1); }

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>400 Bad Request</title></head><body><h1>Bad Request</h1><p>Your browser sent a request that this server could not understand.<br /></p></body></html>

disconnecting.connecting...

if i keep the client.println("HOST: winacro.com"); then i'm not able to connect!