【发布时间】:2013-01-16 00:31:59
【问题描述】:
我正在使用以下 js 插件,它允许我在 android 和 iOS 上使用 WebSockets 以及用 html5 编写的应用程序(在我的情况下通过 phonegap)。
https://github.com/FreakDev/PhoneGap-Android-HTML5-WebSocket
为了使用 websocket,我还需要什么?
我有一个安装了 PHP 和 MySQL 的 bluehost 基本服务器。我需要做什么?
【问题讨论】:
-
不要将 PHP 用于 websockets。这并非不可能,但 PHP 并不是为此而设计的。
标签: php html sockets cordova websocket