mirror of
https://github.com/Drop-OSS/libtailscale.git
synced 2026-07-15 07:29:01 -04:00
b0e2f4a4e4
Use a socketpair(2) and sendmsg/recvmsg to pass a connection fd from Go to C. This lets people write non-blocking C by polling on a tailscale_listener for when they should tailscale_accept. Signed-off-by: David Crawshaw <crawshaw@tailscale.com>