Hi, I use capnp::StreamFdMessageReader(fd) to read a message on a file descriptor created using network sockets.
And it works fine. However, I'm trying to detect if the client socket has closed. Normally, if a read() call returns 0, this would show the client connection has closed. How would I go about this by using StreamFdMessageReader? -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/c5b44e93-dde3-41ec-bced-7d839fde6185n%40googlegroups.com.
