> However, it appears a pipe _is_ a STREAM in Solaris, it is.
> so I'd expect > getmsg(2)/putmsg(2) should work; Right. > not the same, but perhaps similar enough, > although some of the features are obscure or at least lacking in examples, > unless you're wealthy enough to afford the appropriate book(s) by Stevens (or > Teer?). For instance, darn if any trivial googling finds me an _example_ of > code using I_SENDFD/I_RECVFD (or the comparable sockets feature). > > As long as you're in control and not using pipes supplied by something > like the shell or popen(3c), you might consider using AF_UNIX sockets > if you want socket rather than STREAMS semantics for something strictly local. That's right. You need to open fd as a socket to get a socket semantics. Solaris 10 has considerable improvements for AF_UNIX socket performance. - Alexander Kolbasov _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org