how the close_wait state produce?when it happens,close() function can’t close the socket,Can I set the time in QNX?

Close wait means your end is closed but it’s waiting for the other side of the connection to close it as well.

Set time: command date and rtc -s to save to in the CMOS