I am working on a medical app that visualise signal form a micro controller. we are planing to send this signal using websocket (localhost). I want to create a websocket server on mobile app. is that possible to do?
IOS websocket server
There’s two parts to this:
The second part is the tricky one. How are you planning to interact with this accessory? If that interaction is user driven — that is, the user runs your app which communicates with the accessory which sends results to your app via WebSocket — then it’s all good. If, however, this interaction is deferred to the point where your app is no longer in the foreground, things start getting complicated.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Actually implementing the WebSocket protocol.
Arranging for your server to run.
The second part is the tricky one. How are you planning to interact with this accessory? If that interaction is user driven — that is, the user runs your app which communicates with the accessory which sends results to your app via WebSocket — then it’s all good. If, however, this interaction is deferred to the point where your app is no longer in the foreground, things start getting complicated.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"