Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement net:getaddrinfo/1,2 #902

Closed
fadushin opened this issue Oct 28, 2023 · 1 comment
Closed

Implement net:getaddrinfo/1,2 #902

fadushin opened this issue Oct 28, 2023 · 1 comment
Assignees

Comments

@fadushin
Copy link
Collaborator

In order to work with the OTP socket API, we need a way to get information about hosts and their addresses, and the recommended way to do this is via net:getaddrinfo/1 and net:getaddrinfo/2

See https://www.erlang.org/doc/man/net
C.f. https://erlangforums.com/t/discrepancy-in-type-spec-for-net-getaddrinfo/2984

@fadushin fadushin self-assigned this Oct 28, 2023
bettio added a commit that referenced this issue Nov 3, 2023
Add support for net:getaddrinfo/1,2

This PR adds support for the `net:getaddrinfo/1,2` family of functions.

Addresses Issue #902

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
@fadushin
Copy link
Collaborator Author

Addressed (pardon the pun) in PR #903

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

No branches or pull requests

1 participant