Giter Club home page Giter Club logo

chatserver's Introduction

ChatServer

Telnet based C++ Chat Server Copyright Vlad Ionut Ursachi 2016

Features:

  • server is multi-platform, can be compiled and run on Windows, Linux and MacOS
  • server supports all the commands from the specification plus /whisper
  • when connected to the server with telnet as a client, the server will inform the user all of its commands.
  • joining a non-existent room will create it and place the user inside it.
  • in each ChatServer/platform/* folder a config.h file is provided where the developer can change the default port number, the maximum number of concurrent clients and the maximum line size of a chat message.
  • the server automatically detects when users login or drop out and performs the required actions, removing them from chat rooms and informing the other users.

Build instructions:

Unix and MacOS:

  • change directory to ChatServer/platform/unix
  • type "make" to build
  • type "make clean" to clean
  • change directory to ChatServer/platform/unix/out
  • start the server with "./ChatServer". It will start on port 9399
  • optionally you can start it with "./ChatServer -port port_number"
  • connect with telnet to the server ip and port to start chatting

Windows:

  • change directory to ChatServer/platform/windows
  • open project with ChatServer.sln (Visual Studio 2012)
  • build solution and run it
  • similarly, the command-line can include "-port port_number" to start on a different port
  • connect with telnet to the server ip and port to start chatting

chatserver's People

Contributors

uvinrg avatar

Stargazers

 avatar  avatar KeepUp avatar A.AL-Dallal avatar

Watchers

 avatar

Forkers

lvleysuper

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.