2 ms·
For quite some versions that modern networking APIs on macOS using Objective-C frameworks, starting in 2018. See WWDC 2018's "Introducing Network.framework, A
by pjmlp 2y ago
For quite some versions that modern networking APIs on macOS using Objective-C frameworks, starting in 2018.
See WWDC 2018's "Introducing Network.framework, A modern alternative to sockets".
NeXTSTEP might have been a UNIX, and macOS derives from it, but the whole UNIX story has always been to bring UNIX software into the platform, not to make it easier to move elsewhere.
- john_alan 2y agomacOS is still certified POSIX UNIX EDIT: maybe not anymore, Sequoia isn't listed yet, https://www.opengroup.org/openbrand/register/xy.htm https://www.opengroup.org/openbrand/register/xy.htm
- pjmlp 2y agoRegardless, even if they renew the certification, they aren't obliged to expose in the classical POSIX APIs more than what the certification requires in features, or happens to be optional, implementation defined. As anyone that has painfully tried to write POSIX portable code across big iron UNIX is aware of.
- throw0101a 2y ago> Regardless, even if they renew the certification, they aren't obliged to expose in the classical POSIX APIs more than what the certification requires in features, or happens to be optional, implementation defined. getaddrinfo() is part of POSIX, so it would be necessary to expose it: * https://pubs.opengroup.org/onlinepubs/9699969599/functions/getaddrinfo.html https://pubs.opengroup.org/onlinepubs/9699969599/functions/g... (2004) * https://pubs.opengroup.org/onlinepubs/9699919799/functions/getaddrinfo.html https://pubs.opengroup.org/onlinepubs/9699919799/functions/g... (2017) * https://pubs.opengroup.org/onlinepubs/9799919799/functions/getaddrinfo.html https://pubs.opengroup.org/onlinepubs/9799919799/functions/g... (2024)
- pjmlp 2y agoAnd it is exposed, the code still compiles if one uses it, it just doesn't get additional nice macOS networking features that aren't explicilty required for UNIX certification. Where does it say DNS encryption is required?