The serial throughput of the XBee WIFI module is documented at up to 320Kbps with the SPI port supporting up to 1MB.
(http://ftp1.digi.com/support/documentation/90002180.pdf Page
If you are having issues with throughput, I would suggest switching to UDP instead of TCP for the protocol.