Fix listener / echo servers to handle char mode
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 9 Oct 2015 15:02:10 +0000 (11:02 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 15 Oct 2015 17:35:24 +0000 (13:35 -0400)
commite927e53e596687e93a542ad3f9d14e9edc75ae4e
tree9e849f98223df94285a9f31a631ca60338958b2e
parentce09b0c09c662d8c50ea951eb739cece846cc3dd
Fix listener / echo servers to handle char mode

If you telnet in character mode, the server wouldn't output the input,
though it would correctly echo the input back to the client.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tests/epoll_server.c
tests/listener.c