diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-02-09 01:47:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 01:47:12 +0000 |
commit | c42b6494d664463c03b2a96431bc500a53be5e49 (patch) | |
tree | 5a4bf9cfc1e32518e701069355b700c1ba7d2f78 /src/macros.rs | |
parent | 348e2387938938b9de46886494f2c799893f2a12 (diff) | |
parent | 960199daf9f395096b08dc24aa0337cb5b93da81 (diff) | |
download | nix-c42b6494d664463c03b2a96431bc500a53be5e49.zip |
Merge #1967
1967: Added LOCAL_PEERPID/LocalPeerPid sockopt for macos r=asomers a=mitsuhiko
macOS has a badly documented `LOCAL_PEERPID` sockopt that can be used to retrieve the PID of the connected peer.
I intentionally only added this for macOS because I know it exists there, and I'm not sure about ios yet even if it exists there, it's doubtful that the PID information gets any use there.
Co-authored-by: Armin Ronacher <armin.ronacher@active-4.com>
Diffstat (limited to 'src/macros.rs')
0 files changed, 0 insertions, 0 deletions