On Jul 20, 2009, at 10:18 PM, Ephraim Dan wrote:
That explains it.Is there a way to get the behavior I want, i.e. to check before reading in order not to block? Is there a non-blocking transport layer or do the existing ones support nonblocking sockets?
If we're talking about the server side, there is TNonblockingServer (and I will be adding TAsioNonblockingServer), but I believe all the transports call TSocket::read() when you do a peek at a higher level. I haven't seen anyone call TSocket::peek in the code that I've read.
- Rush
smime.p7s
Description: S/MIME cryptographic signature
