Re: IPv6 patch

Поиск
Список
Период
Сортировка
От Greg Copeland
Тема Re: IPv6 patch
Дата
Msg-id 1041890578.17639.71.camel@mouse.copelandconsulting.net
обсуждение исходный текст
Ответ на Re: IPv6 patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: IPv6 patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
On Mon, 2003-01-06 at 15:59, Bruce Momjian wrote:
> Greg Copeland wrote:
> > > It appears right at the top because creating the socket is the first
> > > thing it does.  A good question is once we have a way for the user to
> > > control IPv4/6, what do we ship as a default?  IPv4-only?  Both, and if
> > > both, do we fail on a kernel that doesn't have IPv6 enabled?
> > 
> > So you're saying that by using the IPv6 address family and you bind to
> > an IPv6 address (or even ANY interface), you still get v4 connections on
> > the same bind/listen/accept sequence?
> > 
> > I'm asking because I've never done v6 stuff.
> 
> Yes, it listens on both.  The original author, Nigel, tested in using
> both IPv4 and IPv6, and the #ipv6 IRC channel and google postings seem
> to indicate that too. What I am not sure how to do is say _only_ IPv4.

Wouldn't you just use an IPv4 address family when creating your socket?


-- 
Greg Copeland <greg@copelandconsulting.net>
Copeland Computer Consulting



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: IPv6 patch
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: IPv6 patch