Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 440 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 440 Bytes

Server socket in Swift

The project contains sample code that illustrates how to create a server socket in Swift.

The server uses a self-signed certificate. In order for it to work, you should install the Certificates/localhost.cer file in the Simulator (drag and drop).

The passphrase for the server's digital identity Certificates/MyLocalServer.p12 is 123456.

Tested on Swift 3.0, Xcode 8.2.1.

License: MIT (see LICENSE.txt)