关于
This skill serves as an exhaustive technical guide for implementing Apple's modern networking stack in iOS, iPadOS, watchOS, and tvOS applications. It facilitates the transition from legacy BSD sockets and completion-handler-based NWConnection to the latest iOS 26+ NetworkConnection API featuring structured concurrency (async/await), built-in TLV framing, and the Coder protocol. Developers can use this reference to implement battle-tested patterns for TLS, UDP, TCP, and advanced peer-to-peer discovery via Wi-Fi Aware.