How To Send file from iPhone to another iPhone using node.js and socket.io. Which package i have to use and should i have to write script on client side i.e. iPhone if yes how it will run on iPhone side .
如何使用node.js和socket.io将文件从iPhone发送到另一台iPhone。我必须使用哪个软件包,我是否必须在客户端编写脚本,如果是iPhone,它将如何在iPhone端运行。
2 个解决方案
#1
1
http://socket.io :socket package for node. You dont even need to write the script on your own for the client side completely for making connection with the node server, as they provide you with the js file for doing that.
http://socket.io:节点的套接字包。您甚至不需要为客户端自己编写脚本来完全与节点服务器建立连接,因为它们为您提供了js文件。
How to run on iphone?
如何在iPhone上运行?
http://docs.phonegap.com. If you are building an app for iphone you would like to put your javascript code inside the phonegap app and your code will run on iphone in web view, like in any web browser
http://docs.phonegap.com。如果您正在为iphone构建应用程序,您希望将您的javascript代码放在phonegap应用程序中,并且您的代码将在Web视图中在iphone上运行,就像在任何Web浏览器中一样
#2
1
I created a swift socketio client: SocketIOCocoa. Hope it helps.
我创建了一个swift socketio客户端:SocketIOCocoa。希望能帮助到你。
#1
1
http://socket.io :socket package for node. You dont even need to write the script on your own for the client side completely for making connection with the node server, as they provide you with the js file for doing that.
http://socket.io:节点的套接字包。您甚至不需要为客户端自己编写脚本来完全与节点服务器建立连接,因为它们为您提供了js文件。
How to run on iphone?
如何在iPhone上运行?
http://docs.phonegap.com. If you are building an app for iphone you would like to put your javascript code inside the phonegap app and your code will run on iphone in web view, like in any web browser
http://docs.phonegap.com。如果您正在为iphone构建应用程序,您希望将您的javascript代码放在phonegap应用程序中,并且您的代码将在Web视图中在iphone上运行,就像在任何Web浏览器中一样
#2
1
I created a swift socketio client: SocketIOCocoa. Hope it helps.
我创建了一个swift socketio客户端:SocketIOCocoa。希望能帮助到你。