Re: [Taps] New Transport Networking APIs in iOS 12 beta

Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Sat, 09 June 2018 18:38 UTC

Return-Path: <Michael.Tuexen@lurchi.franken.de>
X-Original-To: taps@ietfa.amsl.com
Delivered-To: taps@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85A0E130F3A for <taps@ietfa.amsl.com>; Sat, 9 Jun 2018 11:38:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.699
X-Spam-Level:
X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gjrEehDfXBIY for <taps@ietfa.amsl.com>; Sat, 9 Jun 2018 11:38:10 -0700 (PDT)
Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 99D94130F32 for <taps@ietf.org>; Sat, 9 Jun 2018 11:38:10 -0700 (PDT)
Received: from [172.20.6.67] (unknown [38.64.177.126]) (Authenticated sender: lurchi) by mail-n.franken.de (Postfix) with ESMTPSA id 057FD721E2822; Sat, 9 Jun 2018 20:38:05 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <1C14F32A-3ADC-4D35-B800-091697E83AD6@apple.com>
Date: Sat, 09 Jun 2018 14:38:03 -0400
Cc: taps WG <taps@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <63A71B2E-96E4-402A-89E2-667DDF8B1D08@lurchi.franken.de>
References: <1C14F32A-3ADC-4D35-B800-091697E83AD6@apple.com>
To: Tommy Pauly <tpauly@apple.com>
X-Mailer: Apple Mail (2.3445.8.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/taps/ZY2RgkCbkCMHR0_osyYvcOPujz8>
Subject: Re: [Taps] New Transport Networking APIs in iOS 12 beta
X-BeenThere: taps@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: "IETF Transport Services \(TAPS\) Working Group" <taps.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/taps>, <mailto:taps-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/taps/>
List-Post: <mailto:taps@ietf.org>
List-Help: <mailto:taps-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/taps>, <mailto:taps-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Jun 2018 18:38:14 -0000

> On 8. Jun 2018, at 18:29, Tommy Pauly <tpauly@apple.com> wrote:
> 
> Hello TAPS!
> 
> This week we released Network.framework, a new set of transport APIs, as part of the beta for iOS 12 and macOS Mojave.
> 
> This API provides support for connections and listeners using TCP, UDP, TLS, and DTLS; connecting by name or service, with happy eyeballs support for addresses, interfaces, and protocols (for proxies, etc). This provides our basis for “post-sockets” API work. As we define as a working group more of the full TAPS API vision for protocol agility, we'd like on add that support to this framework. 
Hi Tommy,

great news!
Is there also a possibility to add new transports to the framework, like
SCTP or QUIC?

Best regards
Michael
> 
> Video of the presentation:
> https://developer.apple.com/videos/play/wwdc2018/715/
> 
> Sample implementation of netcat:
> https://developer.apple.com/documentation/network/implementing_netcat_with_network_framework
> 
> Swift and C API:
> https://developer.apple.com/documentation/network
> 
> If you are an iOS or macOS developer, please try out the APIs! Either way, we’d love for everyone to take a read through the API and give feedback on how we can continue to evolve things towards a post-sockets and fully TAPS model. Note that on iOS and tvOS, this framework is currently using a user-space networking stack instead of sockets when applicable.
> 
> Best,
> Tommy
> _______________________________________________
> Taps mailing list
> Taps@ietf.org
> https://www.ietf.org/mailman/listinfo/taps