WiFi Shield - Buffering outsending data

Any reason why you use write instead of print? Have you tried flush after the write or print?