一个socket基础框架,支持通过UDP组播方式搜索局域网内设备,之后通过TCP建立一对多的TCP连接。支持字符串和小图片的发送和接收。
- 启动socket服务
- 关闭socket服务
- 发送消息 a) 客户端->服务端 b) 服务端->某个客户端 c)服务端广播给所有客户端
- 通过回调方式通知收到的消息
implementation 'com.rokid:glass.socket:1.0.0'
需要加入鉴权机制,只有经过授权的设备才能连接服务端
This project forked from zhuohengfeng/rokidsocketdemo
一个socket基础框架,支持通过UDP组播方式搜索局域网内设备,之后通过TCP建立一对多的TCP连接。支持字符串和小图片的发送和接收。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.