Skip to content

Version 1.0

Compare
Choose a tag to compare
@billabt billabt released this 27 Feb 14:42
· 138 commits to master since this release

Version 1.0

Socket framework for Swift using the Swift Package Manager. Works on iOS, macOS, and Linux.

Prerequisites

Swift

  • Swift Open Source swift-4.0.0-RELEASE toolchain (Minimum REQUIRED for latest release)
  • Swift Open Source swift-4.2-RELEASE toolchain (Recommended)
  • Swift toolchain included in Xcode Version 10.0 (10A255) or higher.

macOS

  • macOS 10.11.6 (El Capitan) or higher.
  • Xcode Version 9.0 (9A325) or higher using one of the above toolchains.
  • Xcode Version 10.0 (10A255) or higher using the included toolchain (Recommended).

iOS

  • iOS 10.0 or higher
  • Xcode Version 9.0 (9A325) or higher using one of the above toolchains.
  • Xcode Version 10.0 (10A255) or higher using the included toolchain (Recommended).

Linux

  • Ubuntu 16.04 (or 16.10 but only tested on 16.04).
  • One of the Swift Open Source toolchain listed above.

Other Platforms

  • BlueSocket is NOT supported on watchOS since POSIX/BSD/Darwin sockets are not supported on the actual device although they are supported in the simulator.
  • BlueSocket should work on tvOS but has NOT been tested.

Add-ins

Changes since 1.0.0

  • When calling getaddrinfo(), the hints variable should reflect the protocol family of the socket. See issue #128.
  • Added new parameter to connect() to allow the caller to force the connection to the specific family of the Socket instance making call. The default behavior is to allow connection to any socket family. See issues #129 and #128.
  • Added support for big endian devices. PR #130.
  • Added descriptive error messages for internal errors. PR #131.
  • Update for Swift 4.1.
  • Fixed minor warnings on Linux.
  • Fixed problem with connect() when using UDP sockets. PR #137.
  • Update to include Swift 4.2 in CI builds.
  • Added prerequisite that the libssl-dev package is required to be installed when building on Linux if using the BlueSSLService add-in.
  • Minor license update.
  • Performance fix for debug mode. PR #144.
  • Added test for issue #139.
  • connect using signature changes. PR #147.
  • Updates for Xcode 10 to project.
  • Swift 4.2 support.
  • Fixed buffer overflow problem that only showed up in optimized code. Issue #139.
  • Make Swift 4.2 the default compiler in project.
  • Update for Swift 4.2 (PR #151) and Xcode 10.
  • Added CI support for building with Swift 5. PR #154.
  • Added new parameter to TCP version of listen API to allow caller to specify a particular address to listen on. This new parameter is defaulted to nil and therefore should affect current callers.