6 Jul
2020
6 Jul
'20
11:07 p.m.
Cole Helbling <cole.e.helbling@outlook.com> writes:
- /// Receive data from the socket fd to a given buffer. + /// Receive a message from the socket fd to a given buffer. The message will then + /// be removed from the socket, whether `buf` was large enough to hold all of it or
"whether or not `buf` was large enough..." sounds better, IMO.
I agree.
+ /// /// # Errors /// Returns error when `libc::recv` failed.
Returns *an* error.
Ah, yes, I can change this while I'm here. Good catch. :) v2 on its way!