Currently I have a blocking read on a client socket on an AIX 5.3 system on a thread.
Problem is that I have received a message to shutdown, where I need to close the client socket and perform other cleanup. I have read that the default is blocking read. I have read the man pages and cannot see how one makes it a non-blocking read. What is the "common" way to manage this kind of problem? Does one make the read blocking with a wait timeout? Cannot see in IBM manuals how one does this. Thanks in advance.