Rewrite the communication protocol
sendmsg() with only ancilliary message does not work, apparently. Therefore, to make things cleaner, pass command/reply directly using sendmsg() instead of newline-terminated strings.
Showing
Please register or sign in to comment