nix crate and
socket2 crate provides APIs for Unix socket programming. I started with
socket2 but had to import
nix to find all local IPs (
getifaddrs()). But it also introduces some confusion, for example both has
I'm curious how others use these two crates? Do you use both at the same time? Thanks.