Skip to content

SRT with IPv6 #3083

Answered by ethouris
lelegard asked this question in Q&A
Dec 1, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The reason why - in distinction to the BSD socket API - you don't specify the IP version when creating the SRT socket is that the internal UDP socket - which's creation does require specifying AF_INET or AF_INET6 - is created at the moment when the SRT socket is bound. Which of the IP version is used, it depends on the binding address. In case when you connect the socket without binding, the default binding uses the default address, but of the same family as the connection endpoint address. That's not only to make things easier, we had to do this because of the required API consistency with groups. In case of groups you don't specify the IP version because you can have IPv4 and IPv6 conne…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lelegard
Comment options

Answer selected by lelegard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants