Introducing Network.framework

WWDC 2018

Posted by Den on July 10, 2018 · 6 mins read
Introducing Network.framework

Introducing Network.framework

WWDC 2018

Introducing Network.framework

WWDC 2018

Modernizing transport APIs 👍

Connection Setup

Connection Lifecycle

Smart Connection Estabilshment

Limiting Connection Establishment

Streaming Live Video with UDP

Demo (Server / Client) 👍

Optimizing Data Tansfer

Send

Receive

Advanced Options

Explicit Congestion Notification (ECN)

  • ECN negotiation is enabled by default on TCP connection
  • Mark ECN flags per packet with UDP

Service Class

  • Interface queuing and Cisco Fastlane

Fast Open Connection

  • Zero round trip data 👍

Allow Expired DNS Answers

  • Remove DNS round trip time 👍

User-Space round Networking

Reacting to Network Transitions

Multipath Connections

  • NWParameters.multipathServiceType ( Enable Multipath TCP ) 👍

Watching Interface Changes

  • NWPathMonitor ( The current available network interface )
  • ( SCNetworkReachability 😡) vs (connection state.waiting 😆)

Discouraged APIs

Preferred APIs