Trying to make a simple macOS app that uses a Unix socket has become an unremitting nightmare. Docs are awful -- just like "`type: Int32` - the type of the thing; "`address: Data` - the address in a Data object". It also appears that literally no-one else has attempted to build something like this, judging by search results. Ugh.
Seems unbelievable to me that that's no nice, high-level socket library for macOS, but π€·