Indy 9
|
BlockSIGPIPE is called from the initialization section of the IdStackLinux.pas unit after assigning the GSocketListClass for the platform.
BlockSIGPIPE creates a signal set that includes the SIGPIPE signal number, and masks the blocked signalled using sigprocmask during the lifetime of the Linux protocol stack handler.
If an application is interested in the SIGPIPE signal, it must call UnblockSIGPIPE to re-enable the signal action handler. The application must then handle or ignore signals raised during execution.