| 12345678910111213141516171819 |
- //
- // chat.swift
- // Swifter
- //
- // Created by Damian Kolakowski on 17/10/15.
- // Copyright © 2015 Damian Kołakowski. All rights reserved.
- //
- import Foundation
- let server = testSocket(NSBundle.mainBundle().resourcePath!)
- do {
- try server.start(9080)
- print("Server has started ( port = 9080 ). Try to connect now...")
- NSRunLoop.mainRunLoop().run()
- } catch {
- print("Server start error: \(error)")
- }
|