how to read some in vibe.d tcpconnection?

zhmt via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Mar 6 01:30:25 PST 2015


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?


More information about the Digitalmars-d-learn mailing list