axiom-networking

Migrate iOS networking to Apple's Network framework with async/await workflows.

3|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/harivansh-afk/claude-code-vertical --skill axiom-networking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-networking
Source: https://github.com/harivansh-afk/claude-code-vertical/tree/main/skill-index/skills/axiom-networking
Command: npx skills add https://github.com/harivansh-afk/claude-code-vertical --skill axiom-networking

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers migrate and implement modern iOS networking patterns using Apple's Network framework, replacing deprecated BSD sockets, CFSocket, NSStream, and reachability hacks with non-blocking, async/await workflows.

Core Features & Use Cases

  • Migration guidance: from NWConnection to NetworkConnection (iOS 26+), with clear best practices for TLS, UDP, and framing.
  • Practical patterns: TLV framing, Coder protocol, and UDP batching for efficient real-time networking.
  • Use Case Examples: gaming (low-latency UDP), secure messaging, and local-network discovery.

Quick Start

Example: Create a TLS TCP connection to a server and start sending data with async/await, observing connection states and handling retries as needed.

Frequently Asked Questions about axiom-networking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate from NWConnection to NetworkConnection in iOS 26+?

To migrate from NWConnection to NetworkConnection in iOS 26+, replace deprecated BSD sockets and CFSocket patterns with Apple's modern Network framework. This ensures non-blocking, async/await workflows while maintaining reliable TLS, UDP, and TLV framing connections.

What is the best way to handle async/await networking in iOS?

The best way to handle async/await networking in iOS is using Apple's Network framework. It enforces smart connection establishment, waiting state handling, and network-transition resilience, replacing deprecated reachability hacks with non-blocking, reliable connections.

How does TLV framing work with UDP batching for real-time iOS networking?

TLV framing structures data into Type-Length-Value formats for reliable parsing, while UDP batching groups multiple payloads to reduce overhead. Together, they enable efficient real-time networking like low-latency gaming and secure messaging on iOS.

Can I use the Network framework for both TCP and UDP connections across iOS 12-25?

Yes, the Network framework supports both TCP and UDP connections across iOS 12-25 and iOS 26+. It provides reliable connection establishment, TLS integration, and migration guidance for transitioning between framework versions seamlessly.

Why should I replace BSD sockets and NSStream with modern iOS networking patterns?

You should replace BSD sockets and NSStream to eliminate blocking network calls and deprecated reachability hacks. Modern iOS networking patterns enforce non-blocking async/await workflows, network-transition resilience, and smart waiting state handling.

How do I debug network connection states and retries in iOS?

Debug network connection states and retries in iOS by observing connection state transitions and handling retries within async/await workflows. The Network framework provides structured debugging workflows to manage TLS, UDP, and network-transition resilience effectively.