Skip to content

tcp-socket::bind: Drop the "When binding to a non-zero port" condition#884

Open
badeend wants to merge 1 commit intomainfrom
bind-always-reuseaddr
Open

tcp-socket::bind: Drop the "When binding to a non-zero port" condition#884
badeend wants to merge 1 commit intomainfrom
bind-always-reuseaddr

Conversation

@badeend
Copy link
Member

@badeend badeend commented Feb 15, 2026

Recommend to always set the SO_REUSEADDR flag (except on Windows).

Fixes: bytecodealliance/wasmtime#12402

@badeend badeend requested a review from a team as a code owner February 15, 2026 09:13
@github-actions github-actions bot added the P-sockets Proposal: wasi-sockets label Feb 15, 2026
@badeend badeend enabled auto-merge February 15, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P-sockets Proposal: wasi-sockets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SO_REUSEADDR should be set on TCP sockets even when not binding to a specific port

1 participant

Comments