I am forwarding data from client to another server, if the client send data to server,I want to forward that to another server in time.

So, if the server recieves nothing it will wait, if it receive some data , forward them to another server immediately.

I dont think the TCPConnecion.read method works in this scene.

I have read the document of TCPConnection, found nothing helpful.

Will somebody help me?

Reply via email to