Rewrite pending() to handle input and output.
Pending does reads and writes. In the case of server startup, we may need to write out zeoVerify() messages. Always check for read status, but don't check for write status only there is output to do. Only continue in this loop as long as there is data to read.
Showing
Please register or sign in to comment