On Wed, 27 Jun 2001, Jim Bound wrote:

> > > => you can use it with the V6ONLY stuff.
> >
> > yes, but on rfc2553-compliant system you cannot have both an AF_INET
> > and an AF_INET6 socket listening on the same port.
>
> Sure you can.  By using V6ONLY.  Thats the point of the option.  It is
> just you must set it via setsocopt.
>
> With V6ONLY you should be able to bind 0.0.0.0, 23 and bind ::,23 one
> using AF_INET and the other AF_INET6.

RFC2553 does not state this behaviour. in fact many implementations do
not allow to do this.

can you explain better? let's take two sockets, an AF_INET and an
AF_INET6+V6ONLY one. can i bind them on the same port only if i
bind first to 0.0.0.0 and then to ::? or is it also correct to bind
first to :: and then to 0.0.0.0?

RFC2553 is silent about this.

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi                 [EMAIL PROTECTED]
Ferrara Linux User Group        http://www.ferrara.linux.it
Project6 - IPv6 for Linux       http://project6.ferrara.linux.it

--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to