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

Add automatic DNS lookup functionality to the TCP client builtin #73

Open
rdw-software opened this issue Jun 22, 2022 · 0 comments
Open

Comments

@rdw-software
Copy link
Member

rdw-software commented Jun 22, 2022

In NodeJS, one can connect to a remote (TCP) server using a regular host name. This will trigger a DNS lookup. By default, libuv's API doesn't do this (and understandably so), which means that if it's a desirable feature then this will have to be added on top of the TcpClient module.


Split off from #61 since I'm not sure if this is really needed. If yes, there could be events like DNS_LOOKUP and DNS_LOOKUP_COMPLETE, or even TCP_HOSTNAME_RESOLVED? Not sure if there's much benefit in having those.

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