sockaddr_(in|in6) compatiblity

Dag-ErlingSmørgrav des at des.no
Tue Mar 9 10:34:49 PST 2004


Lukasz Stelmach <Lukasz.Stelmach at telmark.waw.pl> writes:
> 1. I open socket AF_INET6/SOCK_DGRAM... OK
> 2. bind it to ::ffff:127.0.0.1/53...    OK

shouldn't this be ::1?  ::ffff:127.0.0.1 is a tunneled IPv4 address,
which might explain why you get an IPv4 peer address back.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-stable mailing list