macOS network programming in Swift Build network applications using Swift

This guide teaches you the basic concepts for building a network application on macOS. It includes an overview of the available network APIs on macOS and explains how to use three important libraries and frameworks that cover the most common network application needs. The three main topics are:

  • BSD Sockets
  • Apple's Network.framework
  • SwiftNIO
  • These frameworks cover the broadest range of network applications, going from the lowest level via BSD sockets all the way to building a network application using SwiftNIO.

    Get the guide