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

Bind address #1

Closed
LuKks opened this issue Jan 3, 2022 · 2 comments
Closed

Bind address #1

LuKks opened this issue Jan 3, 2022 · 2 comments

Comments

@LuKks
Copy link
Contributor

LuKks commented Jan 3, 2022

Allow cases like:

const server = await bind.tcp(8080, '127.0.0.1')
// or at least:
const server = await bind.tcp(8080, { address: '127.0.0.1' })

Btw, I don't find it really necessary because I can actually create a server like always then listen(port, address) but I think it would be cool to have it in bind-easy for more use cases.

Feel free to close the issue.

@mafintosh
Copy link
Owner

PR welcome!

@LuKks
Copy link
Contributor Author

LuKks commented Jan 4, 2022

#2

@LuKks LuKks mentioned this issue Jan 7, 2022
@LuKks LuKks closed this as completed Dec 8, 2022
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 a pull request may close this issue.

2 participants