passing client.connect(server, 80) with wifi module

I am running some test programs on my new wifi shield.
I ran an initial check for it to scan for available networks and that worked fine. It also connects to a network fine. For my next test I tried the Arduino example program “WifiWebClient” and I ran into trouble. There is a part of code that looks like this:

  Serial.println("Connected to wifi");
  printWifiStatus();

  Serial.println("\nStarting connection to server...");
  // if you get a connection, report back via serial:
  if (client.connect(server, 80)) {
    Serial.println("connected to server");
    // Make a HTTP request:
    client.println("GET /search?q=arduino HTTP/1.1");
    client.println("Host: www.google.com");
    client.println("Connection: close");
    client.println();
  }
}

But my output looks like this:

[q]
Connected to wifi
SSID: twosom2F
IP Address: 192.168.0.9
signal strength (RSSI):-67 dBm

Starting connection to server...

disconnecting from server.
[/q]

So I connected to the server OK, but failed the test :

if (client.connect(server, 80)) {

I put in a println just to confirm and client.connect(server, 80) is indeed not true (0).
Any idea what I should try next to make the example program run?

OK, I admit I haven’t done the firmware upgrade yet, I want to test for basic functionality as much as possible before trying that. The firmware that came installed on the Wifi module is V1.0.0
I will make another post about my questions doing the firmware upgrade.

Any suggestions on how to pass the:
if (client.connect(server, 80)) {
statement?

Thanks,
Drew

There is a part of code that looks like this:

Part of the answer looks like "You need to...".

So I connected to the server OK, but failed the test :

if (client.connect(server, 80)) {

No. You did NOT connect to the server. "Starting connection to server" just means that you are now going to try.

OK, I admit I haven't done the firmware upgrade yet

So, why are you wasting our time?

Right you are!

Finally banged through that firmware upgrade

(See Redirecting... for best instructions on that)

And all is well. I am running my example client sketch successfully.

Thanks,
Drew