DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Interprocess communication using UNIX domain sockets

Connection errors (UNIX domain)

The most common errors that can be returned when a connection fails are:


ECONNREFUSED
The host refused service for some reason. This error usually occurs when the requested name exists, but is not in a state that allows it to accept connections.

ENOENT
No such file or directory. This error is returned if a connection cannot be established because the requested name does not exist.

If a connection fails at any time, the socket cannot be re-used; it must be closed and a new socket created.


Next topic: Transferring data via a socket (UNIX domain)
Previous topic: Accepting a connection (UNIX domain)

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003