Boost logo

Boost Users :

Subject: [Boost-users] [Asio] null_buffer behaviors
From: lin li (sdeber_at_[hidden])
Date: 2014-11-03 04:12:38


Hi, guys. In the doc of asio, it says 'A null_buffers operation doesn't return until the I/O object is "ready" to perform the operation'. But when I use it on a server side socket, i.e. a socket created by "accept" call when a new connection has arrived. It seems to return immediately even the other end has not started to send the data yet. Is this normal?

                                               



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net