TCP/IP Send or Receive Data

I am working with Q24PL001 module in which i am trying to establish tcp/ip socket comm… Connection gets established between a server on Q24 and the client (PC)… The problem is PC receives data only after the server closes the connection and the server receives data only when client disconnects… i am trying to implement a chat program… pls help me with this problem tried many solutions dint work out…

Also gimme info about context(*ctx) and wip_setCTX like what is the use of it? is it mandatory? and info abt options likw WIP_COPT_SND_LOWAT, RCV_LOWAT what values to be given, info about event WIP_CEV_READ, WIP_CEV_WRITE…

HI me too facing the same problem with Fast track supreme…