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

listen on port 0 instead of incrementing port #159

Open
Vap0r1ze opened this issue May 10, 2024 · 0 comments
Open

listen on port 0 instead of incrementing port #159

Vap0r1ze opened this issue May 10, 2024 · 0 comments

Comments

@Vap0r1ze
Copy link

listening on port 0 will allow the system to choose a free port for you, you'll just need to call wss.address() after the listening event fires in order to get the chosen port.

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

No branches or pull requests

1 participant