The project I'm working has multiple processes running. Some are windows, some are clients, some are servers. One of the processes is a TCPIP client where I changed a read to a read with timeout using a select. The process runs fine for a bit and then exits. I have no idea why it exits. The embedded print statements don't give any clue. Nothing shows up on the screen where the parent processes started it, nothing is in the redirected error file.
Is there any way to find out? UNIX type systems don't keep track of exit status like the old VMS systems of my misspent youth did. Do I need to write some type of exit handler, or is there an easier way?
BTW this is written in C++ running on Solaris 10