I\'ve been writing a piece of network library and one thing that has been bothering me is the behavior of the recv() function, namely its possible return values.
recv()