Skip to content

NODERAWSOCKETS: report the source address from getsockname() right after connect() - #27688

Open
guybedford wants to merge 1 commit into
emscripten-core:mainfrom
guybedford:noderawsockets-connect-saddr
Open

NODERAWSOCKETS: report the source address from getsockname() right after connect()#27688
guybedford wants to merge 1 commit into
emscripten-core:mainfrom
guybedford:noderawsockets-connect-saddr

Conversation

@guybedford

Copy link
Copy Markdown
Collaborator

This fixes getsockname() after connect() to store the address immediately, so that it can be returned in host calls, which was an oversight missed from #27566.

This is Node.js 26+ only for now for that immediate connect behavior, although a 24 backport of that Node.js feature may be coming as well.

@guybedford

Copy link
Copy Markdown
Collaborator Author

//cc @brendandahl if you have a moment to review this one it would be much appreciated.

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.

1 participant