Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2008 13:46:59 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        questions@freebsd.org
Subject:   Binding SCTP sockets to the IPv6 lopback address
Message-ID:  <48F5E643.4090502@cran.org.uk>

next in thread | raw e-mail | index | archive | help
I've been writing some basic SCTP socket code and have found that SCTP 
doesn't bind to the loopback IPv6 address - it binds to all the other 
addresses, including the external IPv6, link-local and IPv4 loopback 
addresses.  Is there something about the way SCTP works that means it 
doesn't work over IPv6 loopback?

The code I'm running calls getaddrinfo with the hints to set AF_UNSPEC, 
SOCK_STREAM, AI_PASSIVE and then it calls bind with the protocol set to 
IPPROTO_SCTP.

-- 
Bruce Cran



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48F5E643.4090502>