Looking to implement websockets communication between a UIWebView in iOS with javascript to a local on the device websockets server in objective-c. Anyone seen a sample code set for setting a local websocket server on device for iOS so that the web view half can easily talk to the native container and vice versa?
Asked
Active
Viewed 8,237 times
2 Answers
2
I have made a websocket server that runs on iOS. It is a wrapper around libwebsockets, the code is on github: https://github.com/benlodotcom/BLWebSocketsServer .

benlodotcom
- 46
- 2
1
try this library https://github.com/robbiehanson/CocoaHTTPServer it has a MAC and IOS example with websockets.

angel of code
- 686
- 8
- 25