hi,
On Fri, Jan 29, 2010 at 07:37:13AM +0100, Ola Lundqvist wrote:
> > On Sun, Jan 24, 2010 at 17:01:54 -0700, Glen Reesor wrote:
> > > Here's the xvnc4viewer part of the output from netstat -lapten:
> > > Proto Recv-Q Send-Q Local Address Foreign Address
> > > State User Inode PID/Program name
> > > tcp6 0 0 :::7003 :::*
> > > LISTEN 1000 15663 3788/xvnc4viewer
> > >
> > > The good news is that "echo 0 > /proc/sys/net/ipv6/bindv6only" prior
> > > to starting xvnc4viewer makes it work. Cool!
> > > So, is this a bug that should be filed again xvnc4viewer or some
> > > other networking related package?
>
> Thanks for the report. Maybe I should revert the IPv6 support
> all together. This turned out to be much more complication than
> I thought in the beginning.
if vnc4 works fine with accepting IPv4 connections on a IPv6 socket,
just keep it this way. You only need to add:
{
int false = 0;
setsockopt (some_socket_fd, SOL_IPV6, IPV6_V6ONLY, &false,
sizeof(false));
}
cu
Maurice
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]