Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sdd.hp.com!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.unix.internals Subject: Re: Names pipes or UNIX domain sockets? Message-ID: <2J1C.5B@xds13.ferranti.com> Date: 20 Jun 91 18:46:53 GMT References: <1991Jun15.204226.25191@ms.uky.edu> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 10 In article <1991Jun15.204226.25191@ms.uky.edu> sean@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?"