Code Monkey home page Code Monkey logo

multiclientchatroom's Introduction

MultiClientChatRoom

Multi client chat room with server and client in c++ with MFC and thread

Server:

Multi-client chat server is an open source c++ project. In this server multiple user can log in and communicate with one another as multicast user. In reality it can use as a chat room server. Can be modified as peer to peer (p2p) text chat. It can also be used as a backbone of a video conferencing project. It has a beautiful and easy to use user interface in MFC. This project is compatible with Microsoft visual studio 2010. I will describe the use of class and function with source code.

Technology used:

i.   C++
ii.   Microsoft visual Studio 2010
iii.  MFC GUI
iv.  Winshock2 Socket
v.   TCP/UDP
vi.  Windows Thread

This project consist of 3 classes.

1. Server.cpp
2. ServerDlg.cpp
3. ServerManager.cpp

Client:

This client will use as multi chat client with our very own server. In this client you need to provide server IP ,PORT and an USERNAME.

Technology used:

i.   C++
ii.   Microsoft visual Studio 2010
iii.  MFC GUI
iv.  Winshock2 Socket
v.   TCP/UDP
vi.  Windows Thread

This project consist of 3 classes.

1. Client.cpp
2. ClientDlg.cpp
3. ClientCon.cpp

Pre-Requisite:

  1. C++
  2. Microsoft visual Studio 2010

Build:

No dependency. So just open this 2 project in Microsoft visual Studio 2010 and build and RUN. Thats it!

Try Out:

Start the Server in a PC from server binary. Then just provide the port on MFC gui text field and click start button.

Now , connect the client with the server by running the client binary. Then provide server IP, PORT, USERNAME and click on Log In button.

Now you are done. Start chat and enjoy with your own chat room.

multiclientchatroom's People

Contributors

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