Giter VIP home page Giter VIP logo

irc's Introduction

开发平台

  • Python 2.7.9
  • MAC OS 10.10.5

功能概述

IRC(服务器):在线多人聊天服务器,有 一个大厅 和 三个不同的聊天室,连接上服务器后进入大厅,可以选择进入相应地聊天室,进行多人文字聊天,也可以从聊天室退回到大厅切换聊天室。

Tk(UI客户端):用户界面登陆服务器,进行聊天,支持服务器的所有功能

使用方法

  • 根据实际地址,修改地址:IRC.pyhost = '127.0.0.1'的侦听地址,以及tk.py中同样内容的地址
  • 运行服务器:$ python IRC.py
  • 运行客户端,登录服务器:
    • 方法一:将tk.pymtTkinter.py放在同一文件夹下,运行 UI 客户端 $ python tk.py
    • 方法二:在终端输入$ telnet 127.0.0.1 5000,通过 shell 登陆

irc's People

Contributors

chaonet avatar

Watchers

James Cloos avatar ChuanCong Xue 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.