Skip to content

Conversation

@orgads
Copy link
Contributor

@orgads orgads commented Jan 3, 2026

This causes every call with -t to fail with:
Unable to bind TCP socket, errno = 48 (Address already in use)

This reverts commit c4d9c9a.

Fixes #774.

This causes every call with -t to fail with:
Unable to bind TCP socket, errno = 48 (Address already in use)

This reverts commit c4d9c9a.

Fixes #774.
@orgads orgads requested review from lemenkov and wdoekes January 3, 2026 20:38
@lemenkov
Copy link
Member

lemenkov commented Jan 4, 2026

I guess we should fix issue #574 in a different way.

Copy link
Member

@lemenkov lemenkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Can we add a unit-test for this?

@orgads
Copy link
Contributor Author

orgads commented Jan 4, 2026

Not sure how else to fix it. Is there a way to detect that we're in UAS mode (i.e. first action between send and recv is recv), and only then bind the main socket (except for UDP, which must always bind)?

@lemenkov
Copy link
Member

lemenkov commented Jan 4, 2026

Ok, let's merge it

@lemenkov lemenkov merged commit 48737b6 into master Jan 4, 2026
14 checks passed
@orgads orgads deleted the addr-in-use branch January 4, 2026 18:07
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 this pull request may close these issues.

Unable to bind TCP socket, errno = 112

3 participants