4 ms·
Cool! One thing that confused me, though, is why they used the inet.af import path. I get that it looks cool, but it'd be better if they just used tailscale.com
by 1f60c 6y ago
Cool! One thing that confused me, though, is why they used the inet.af import path. I get that it looks cool, but it'd be better if they just used tailscale.com for everything.
On a related note, I'm not sure which problems Tailscale aims to solve (although I suspect it's one of those "you'll know when you need it" tools).
- edoceo 6y agoAF for Address Family, common in socket-y things
- nine_k 6y agoThis should point to AF_INET flag which you pass when creating a socket, and means that the address family is the internet (IP) address, as opposed to e.g. a domain socket, or some other transport.
- bradfitz 6y ago> Cool! One thing that confused me, though, is why they used the inet.af import path. I get that it looks cool, but it'd be better if they just used tailscale.com for everything. Why would it be better to use tailscale.com? It has nothing to do with Tailscale. It's just an IP address. A neutral package name seemed best.
- lnsp 6y agoLove the redirect from inet.af to the POSIX socket spec, nice easter egg :)