1
A
回答
3
使用此插件创建手机内部的套接字服务器: 插件:https://github.com/becvert/cordova-plugin-websocket-server
插件:https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-socket
文件:https://developer.chrome.com/apps/socket
和客户机的连接使用:
插件:https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-sockets-udp
文件:https://developer.chrome.com/apps/sockets_udp
插件:https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-sockets-tcp
文件:https://developer.chrome.com/apps/sockets_tcp
使用所需的插件。
谢谢。