Kurt Roeckx <Q(at)ping(dot)be> writes:
> I find it so weird, why isn't it just using socketpair() or
> something?
Portability issues, perhaps. Does socketpair exist and behave the same
everywhere?
Checking the HPUX man page for it, I read "socketpair() is supported
only for AF_UNIX", which suggests that it's not possible to get datagram
semantics from it, at least on this platform.
regards, tom lane