Git Product home page Git Product logo

imsocketserver's Introduction

IMSocketServer

项目简介https://www.jianshu.com/p/fb0d9669815a

以下是聊天系统服务器端版本记录以及功能,想要完成整个聊天系统时间是非常长的,所以我们把每个版本的功能尽量做小一点,循循渐进;当然了,肯定也会遇到很多没有想到的问题,我们一起慢慢解决

1.0.0 1:能够接收多个用户的连接,连接后需进行握手确认,握手主要是分发加密密钥 2:聊天和应用模块独立,所以服务器端不做登陆用户是否存在的验证,因为聊天模块不知道应用模块的用户信息;登录结果简化处理,登录后返回该用户的userName的intValue作为imid返回,也就对应着客户端用户体系中的uid 3:一个用户只能在一个设备上登录,会给之前的设备发送被踢下线通知,并随后释放socekt资源 4:心跳间隔为5s,超时则设置离线状态

1.0.1

imsocketserver's People

Contributors

thebloodelf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.