Code Monkey home page Code Monkey logo

chat-application's Introduction

1. Introduction

Chat console application contains one module - chatServer. Server uses localhost as ip address and port - 8500. After starting the server module, a client can connect to server by using telnet command with same ip address (localhost or 127.0.0.1) and port number - 8500.

2. How to Run

Application uses python's inbuilt library, thus no hassles of installing library.

2.1 Run chatServer(Server) :

python chatServer.py

2.2 To connect client to server:

telnet <ip> <port>

where ip = localhost/127.0.0.1 and port = 8500

e.g. - open new terminal and type this command

telnet 127.0.0.1 8500

or

telnet localhost 8500

Note : Max number of client allowed to connect with server is 5.

2.3 To login :

login <user_name>

e.g. - login anaconda

2.4 To Chat/send message:

To send message, use say command

say <message>

e.g.say Hello bro

2.4 To end session :

To end the chat session, use stop command.

e.g. stop

Screenshot

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.