[ace-users] recv()

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Mon Jul 9 05:33:07 CDT 2007

Hi Albert,

> I use ACE_SOCK_Stream recv() instead of recv_n() because I observed recv_n(buf,size) blocks until it recieves exactly size
> bytes, and this is not what I want.


> How can I know after recv() how many bytes were actually received and if there's still something to receive??
> I have been looking for documentation but I didn't find it.

Please see the documentation at the start of the ACE_SOCK_IO class.



More information about the Ace-users mailing list