Doing simple I/O in clntsrv example