bi-directional TCP connection between the client and the server

Hi,

I have an arduino with a wifishield using the WiFi API I will like to know if there is a way to have bi-directional TCP connection between the client and the server. So far I have a WifiClient that connects to a server but it closes the connection after each http request.