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

Ensure DBC can't open a Connect session on an in-use port #43

Open
1 task
harrywm opened this issue Jul 31, 2023 · 1 comment
Open
1 task

Ensure DBC can't open a Connect session on an in-use port #43

harrywm opened this issue Jul 31, 2023 · 1 comment

Comments

@harrywm
Copy link
Member

harrywm commented Jul 31, 2023

https://coolaj86.com/articles/how-to-test-if-a-port-is-available-in-go/

Tasks

@thib92
Copy link
Contributor

thib92 commented Jul 31, 2023

I've tested this locally, and my OS wants me to allow the program to listen to the port, and then the program doesn't wait and just stops (because it returns false). Not sure this way is that easy on macOS.

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

2 participants