A repository to demonstrate how to use Web socket to create client and server on iOS using Swift
- Clone the repository
- Select
SwiftWebSocketServertarget, and run the project - Run
sudo lsof -i :8080to verify connection on port 8080 - Select
SwiftWebSocketClienttarget and run the project - If client and server are correctly connected, you will see values being sent from server and caught on the client side
Demo: