I think this makes the code easier to read, since you can tell whether each function call will actually send some bytes over the wire or if it will just put some bytes into the buffer.
I looked at the recv part too, but it is already consistent: all functions that start with recv_ do actually call recv.
I think this makes the code easier to read, since you can tell whether each function call will actually
send
some bytes over the wire or if it will justput
some bytes into the buffer.I looked at the
recv
part too, but it is already consistent: all functions that start withrecv_
do actually callrecv
.