speeding up data transfer in Yun

Hi, I want to how can i transfer data with wifi (tcp/ip) in yun faster. I am using client.write() but the max speed is 100 Hz which is not enough for me. Over serial communication i reached 1200 Hz but I do not know what is the problem with with wifi one. Thanks