SockeIO Demo Save

Socket长连接、通信、心跳包、消息回调、Java服务端

Project README

SockeIO-Demo

Socket长链接简单封装demo /**

  • 1.定时与服务器心跳保持(时间可以自定义)
  • 2.断线自动重连
  • 3.连接成功、断开连接、收到消息回调处理
  • 4.消息发送状态获取(成功true or 失败false)
  • 5.注册广播 */

客户端: image

服务端: image

代码比较简单,主要是介绍一些Socket的用法。

注意:修改HOST,PORT

谢谢

QQ:195779438

邮箱:[email protected]

Open Source Agenda is not affiliated with "SockeIO Demo" Project. README Source: yixi195/SockeIO-Demo
Stars
33
Open Issues
0
Last Commit
5 years ago

Open Source Agenda Badge

Open Source Agenda Rating