On Fri, 12 Jun 2015 17:37:26 GMT, Kelet wrote:
As to your pipe analogy: I'm not very keen on network communications but are sockets not typically full duplex?
Thanks,
Kelet
Hi Kelet,
The interface for the TCPConnection includes both read(ubyte[])
and write(ubyte[])
. The read and write are both separate, which means you can read from one fiber and write from another. You're probably forgetting to send a trace if you got an error.
This being said, I don't recommend you read and write from separate fibers. You should typically align all your TCP operations within a single fiber.