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.