You need to flush-output
On Sat, Jan 12, 2019 at 10:55 AM Zhonghua Zhu
wrote:
> I am writing a tcp server program.
> Server uses non-blocking reading and client uses write-bytes, then server
> never read any bytes and write-bytes returns the right value.
> But when I change client's write-bytes
I am writing a tcp server program.
Server uses non-blocking reading and client uses write-bytes, then server
never read any bytes and write-bytes returns the right value.
But when I change client's write-bytes to write-bytes-avail, server
receives bytes immediately.
I don't know why this happens
2 matches
Mail list logo