Names pipes or UNIX domain sockets?

Peter da Silva peter at ficc.ferranti.com
Fri Jun 21 04:46:53 AEST 1991


In article <1991Jun15.204226.25191 at ms.uky.edu> sean at ms.uky.edu (Sean Casey) writes:
> One thing I noticed is that when a program opens a named pipe, and
> there's nothing else that has it open, then it just blocks
> indefinitely, while a UNIX domain socket will get the connection
> refused if there's nothing to listen.

Can't you open with O_NDELAY or equivalent?
-- 
Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
Sugar Land, TX  77487-5012;         `-_-' "Have you hugged your wolf, today?"



More information about the Comp.unix.internals mailing list