A repository to demonstrate how to use Web socket to create client and server on iOS using Swift
- Clone the repository
- Select
SwiftWebSocketServer
target, and run the project - Run
sudo lsof -i :8080
to verify connection on port 8080 - Select
SwiftWebSocketClient
target 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: