Coder Social home page Coder Social logo

wechat's Introduction

wechat

考核写跑偏了 这是一个控制台程序 简单实现多人聊天室 本来想用webSocket做 研究了发现跟Socket不是一回事 CSDN上也有人建议用Socket写写试试 就想试试能不能用Socket写 webSocket主要的东西感觉都在JS上 然后服务端的文件基本就五个函数(如果只是简单实现群聊的话) 参考了不少博客最后决定写Socket 感觉Java线程这一块需要多看看 写的时候不是逻辑很清楚 有点被博客的文章带着思路了

关于txt文件

那个是程序里自动保存下来的聊天记录

最后说一句 心态爆炸

wechat's People

Contributors

super94black avatar

Watchers

James Cloos 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.