Hi

If there is an entry in /proc that controls that ipv6 only should be
bound, then vnc should conform to that as well.

Instead netbase should be corrected. It is a bad habit to tell the
system to bind to ipv6 only.

Best regards,

// Ola

On Thu, Dec 10, 2009 at 04:17:07PM +0100, Marco d'Itri wrote:
> On Dec 09, Jacob Heider <[email protected]> wrote:
> 
> > 2) the comments suggest that opening a socket per protocol is the normal
> > method for programs
> Indeed. If this is too much complex to implement in vnc4server, then it
> can be easily use this workaround before binding the socket:
> 
>    int off = 0;
>    if (setsockopt(sep->se_fd, IPPROTO_IPV6, IPV6_V6ONLY, &off,
>            sizeof (off)) < 0)
>        syslog(LOG_ERR, "setsockopt (IPV6_V6ONLY): %m");
> 
> -- 
> ciao,
> Marco



-- 
 --------------------- Ola Lundqvist ---------------------------
/  [email protected]                     Annebergsslingan 37      \
|  [email protected]                      654 65 KARLSTAD          |
|  http://inguza.com/                  +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to