Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Support literal IPv6 addresses #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ferrous26
Copy link

Splitting an address by semicolons doesn't work properly for IPv6 addresses which usually use semicolons as the (double) octet separator. However, an IPv6 address will contain at least 2 semicolons, so this simple change should allow existing stuff to continue working.

However, it doesn't support the case where the address is IPv6 literal and also contains a port. However, in that Addrinfo also doesn't work, so I'm not sure how legitimate that case is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant