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

Fix socket_addr_len #28

Merged
merged 1 commit into from
Nov 23, 2024
Merged

Fix socket_addr_len #28

merged 1 commit into from
Nov 23, 2024

Conversation

wackazong
Copy link
Contributor

socket_addr_len "Specifies the length in bytes of the buffer pointed to by the buffer argument.", see https://pubs.opengroup.org/onlinepubs/9699919799/functions/recvfrom.html.

Now correctly returns the senders IP address.

socket_addr_len "Specifies the length in bytes of the buffer pointed to by the buffer argument.", see https://pubs.opengroup.org/onlinepubs/9699919799/functions/recvfrom.html.

Now correctly returns the senders IP address.
@diondokter
Copy link
Owner

Huh, good catch!

@diondokter diondokter merged commit 51ed17c into diondokter:master Nov 23, 2024
1 check passed
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.

2 participants