Skip to content

Conversation

@TrentHouliston
Copy link
Member

getnameinfo is much better at converting socket addresses to strings, it can resolve hostnames etc as well.

Swap to using it for sockt_t.address() and just pass the sock_t objects through to consumers so they can decide how to work with them.

@TrentHouliston TrentHouliston merged commit 2bbd8d7 into main Mar 6, 2025
12 of 14 checks passed
@TrentHouliston TrentHouliston deleted the houliston/better-address-names branch March 6, 2025 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants