科尔多瓦:创建socket服务器 [英] Cordova: Create socket server

查看:157
本文介绍了科尔多瓦:创建socket服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想和corodva聊天移动应用程序,我想从手机短信没有服务器中间传输到另一台电话直接
所以我在手机上的一个思考throught套接字服务器的套接字通信,并直接交换消息。
有没有办法在Java中的ServerSocket来创建一个科尔多瓦socket服务器怎么样?

I want to make a chat mobile app with corodva, I want to transmit messages from phone to another phone directly without a server in the middle. So I'm thinking about a socket communication throught a socket server on one of the phones and exchanging messages directly. Is there a way to create a socket server with cordova like in Java ServerSocket ?

推荐答案

是的,有一种方法,使用Chrome插件插座:

Yes, there is a way, use the chrome socket plugin:

科尔多瓦 - 插件 - 铬 - 应用插座

问题的关键是,文件是不是很容易的,但该插件的工作非常出色。

The point is, the documentation is not very easy, but the plugin is working very well.

我在使用它的私人应用程式 Rezepte 。对不起,该网站还没有完成。

I'm using it for a private app Rezepte. Sorry, the site is not finished.

这篇关于科尔多瓦:创建socket服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆