https://github.com/benlodotcom/BLWebSocketsServer
尝试了几个server只有这个成功运行了
两处改动
1.ViewController.h
UIWebView必须是strong的,不能是weak
2.build setting :Objective-C Automatic Reference Counting设置成false
另外
https://github.com/mirek/CoreWebSocket
不好使
什么.a编译不过
https://github.com/robbiehanson/CocoaHTTPServer
这个比较全,但是是mac下的server
参考
http://stackoverflow.com/questions/11873918/on-device-ios-websocket-server
ios websocket server端
猜你喜欢
转载自haoningabc.iteye.com/blog/2146202
今日推荐
周排行