in reply to Re: Losing Connection
in thread Losing Connection

Writing to a FIFO pipe that the last reader has closed will generate SIGPIPE but most (but not all) socket implementation will just have the write()/send() operation fail rather than generating the signal.

If the server is using shutdown() to only close one side of the connection, then one has to use select to detect this without blocking.

        - tye (but my friends call me "Tye")