[Asio] null_buffer behaviors

3 Nov
2014
3 Nov
'14
9:12 a.m.
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?
3764
Age (days ago)
3764
Last active (days ago)
0 comments
1 participants
participants (1)
-
lin li