Skip to content

Updates for the swift-DEVELOPMENT-SNAPSHOT-2016-06-20-a toolchain

Compare
Choose a tag to compare
@billabt billabt released this 06 Jul 16:00
· 589 commits to master since this release

This release requires use of the new swift-DEVELOPMENT-SNAPSHOT-2016-06-20-a toolchain.

  • Changes in response to Issue #6. Socket.wait() now supports a timed wait based on a passed timer value, an immediate return (i.e. quick check) and an indefinite wait.
  • Changed SOCKET_DEFAULT_MAX_CONNECTIONS to SOCKET_DEFAULT_MAX_BACKLOG and changed the default from 5 to 50.
  • Added SOCKET_MAX_DARWIN_BACKLOG for macOS.
  • Changed the signature of listen(on port: Int, maxPendingConnections: Int) to listen(on port: Int, maxBacklogSize: Int = Socket.SOCKET_DEFAULT_MAX_BACKLOG) and removed the listen(on port: Int) API since the same can be accomplished using defaults.
  • Updated documentation in README.md to reflect changes.