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

Use SO_REUSEADDR when on TIME_WAIT state #2

Open
cucuruzel opened this issue Sep 26, 2018 · 0 comments
Open

Use SO_REUSEADDR when on TIME_WAIT state #2

cucuruzel opened this issue Sep 26, 2018 · 0 comments

Comments

@cucuruzel
Copy link

When remserial is used in conjunction with a USB to serial adapter and udev\rules.d to start remserial when the converter is plugged in, after a hard reset (eg. unplug/plug) or soft reset (usbreset) remserial fails to start because of TIME-WAIT state, with message "Couldn't bind port XXXX, aborting: Address already in use".
I would suggest to use SO_REUSEADDR option to overcome this issue.

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