nix
nix copied to clipboard
Add `accept_from` returning remote address
trafficstars
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:
- [x] I have read
CONTRIBUTING.md - [x] I have written necessary tests and rustdoc comments
- [x] A change log has been added if this PR modifies nix's API