On Thu, Dec 24, 2009 at 13:24:11 +0100, Hendrik Sattler wrote:

> I do:
> int v6only = 0;
> int fd = socket(AF_INET6, SOCK_STREAM, 0);
> setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, (void*)&v6only, sizeof(v6only));
> bind(fd, (struct sockaddr *) &my_sock, sizeof(struct sockaddr_in6));
> listen(fd, 2);
> ...
> 
Not knowing what my_sock is, this isn't very helpful…

Cheers,
Julien


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to