Thanks for the pickup. My bad. I got preoccupied looking at the partial
write and possible issues with recv(). The code seems to assume the
entire message is received with each recv(). I guess it's mostly true,
because the messages are so small.
On 13/03/18 01:30, Anders Widell wrote:
Ack
Ack with minor comment: Return type from strlen() is size_t, and return
type from send() is ssize_t. So a more type-correct way to implement
this is outlined in my inlined comments in the code below.
regards,
Anders Widell
On 03/09/2018 02:44 AM, Gary Lee wrote:
---