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

Add accept_from returning remote address #2609

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gnaaman-dn
Copy link
Contributor

@gnaaman-dn gnaaman-dn commented Feb 24, 2025

What does this PR do

Another wrapper for accept4 that returns the remote peer's address.
I've copied the same cfgs from accept4.

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

@gnaaman-dn gnaaman-dn force-pushed the gnaaman/accept_from branch 2 times, most recently from 3e664f2 to f289754 Compare February 24, 2025 12:59
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