Re: Stuff that doesn't work yet in IPv6 patch

From: Kurt Roeckx <Q(at)ping(dot)be>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Stuff that doesn't work yet in IPv6 patch
Date: 2003-04-06 12:29:47
Message-ID: 20030406122947.GA16016@ping.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Apr 05, 2003 at 12:12:57PM -0500, Tom Lane wrote:
> Kurt Roeckx <Q(at)ping(dot)be> writes:
> > I find it so weird, why isn't it just using socketpair() or
> > something?
>
> 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.

SUS says that only AF_UNIX should be supported too:

The socketpair() function is used primarily with UNIX domain
sockets and need not be supported for other domains.

That does not prevent you to set the type to either SOCK_STREAM
or SOCK_DGRAM, or even SOCK_SEQPACKET however.

Kurt

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ron Peacetree 2003-04-06 16:29:11 Re: No merge sort?
Previous Message Joe Conway 2003-04-05 19:56:25 Re: compile error in cvs tip