Skip to content

fix: fixes socklen for macOS - #34

Open
zafergurel wants to merge 1 commit into
meetecho:mainfrom
zafergurel:fix/macos-soclen
Open

fix: fixes socklen for macOS#34
zafergurel wants to merge 1 commit into
meetecho:mainfrom
zafergurel:fix/macos-soclen

Conversation

@zafergurel

Copy link
Copy Markdown

On BSD-derived systems (e.g. macOS) sendto() rejects a socklen larger than the actual address, so size it according to the address family.

After applying this fix, I could compile imquic 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

Successfully merging this pull request may close these issues.

1 participant