Giter VIP home page Giter VIP logo

im's Introduction

im

Command Line IM

compile

./make

usage

a:连接
1):首先启动服务器                  ---->   ./server, 默认服务务器为:127.0.0.1, 端口为8888
2):启动客户端, 连接到服务器上      ---->   ./client 127.0.0.1 8888
3):若想启动多个客户端, 重复2)即可

b:通信
1):默认群发                        ---->   直接在客户端上从键盘上输入字符即可
2):端到端通信                      ---->   "num::msg", 其中, 
    num为套接字描述符, 表示要发送的目的客户, 详见服务器端的输出!!!
    msg为要发送的消息

    num::msg 通常为:    5::你好, 5号客户    6::6号客户, 你好
                               __sendto::message__

ps

本IM基于终端界面, 开发环境为:
1):Fedora14发行版, 内核版本:2.6.35.14-106
2):VIM - 7.3.315
3):gcc4.5.1
4):GNU Make 3.82

im's People

Stargazers

poyang chen avatar  avatar

Watchers

poyang chen avatar James Cloos avatar

Forkers

zhuhao528

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.