To test network connection you can send a ping message to a remote IP.
At present ping utility has a fixed time out of 4 sec. (MCW limit)
But shield can replay if pinged from remote IP.
MWiFi.ping(char *ipremote)
pointer to string contains IP address (format:"n.n.n.n")
nothing