Chapter 8, Interprocess communication using UNIX domain sockets
Socket error indications (UNIX domain)

Socket error indications (UNIX domain)

If information at the sending node indicates that the message cannot be delivered, the call returns -1, and the global variable errno contains an error number.