Simple example of implementation of sockets working as a SSH client
- Download client/ folder
- Do
npm install
inside downloaded folder (you need npm to be installed first) - Replace the port with yours.
- To run server:
node listener.js
(you need to install nodejs first) - Your socket endpoint will be:
http://your_ip:your_port
- Download iosClient/ folder
- Do
pod install
inside downloaded folder (you need to be installed cocoapods first) - Implement your project with
Listener.swift
andMain.storyboard
files - Replace inside
Listener.swift
socketURL
with yourhttp://your_ip:your_port