WiFi Shield - Buffering outsending data

Why are you running an infinite loop inside an infinite loop?

This was a stupid mistake I made in the code I posted.

Any more useful suggestion ?