Coder Social home page Coder Social logo

epoll_chat_room's Introduction

这两份代码是基于linux环境和Qt写的服务器和客户端的聊天室程序,使用了底层linux socket的API,linux的多路转换epoll写的和tinyxml库 基本实现了高并发的即时聊天,也写了除了聊天框之外的交互。 学习该份代码需掌握tinyxml库,stl库,设计模式的单例模式等

这份代码是上一份代码的更新版,增加了创建房间且可以带有密码的功能,和发送文件的功能。 Qt版本为5.9.0,linux版本为乌班图18.04
注:代码里面的端口默认为8889,IP为127.0.0.1。 作者QQ:919371374

注解:https://blog.csdn.net/weixin_40393500 基于epoll和Qt的聊天室

epoll_chat_room's People

Contributors

itachihe 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.