Git Product home page Git Product logo

tcp-server's Introduction

TCP Server

████████╗░█████╗░██████╗░
╚══██╔══╝██╔══██╗██╔══██╗
░░░██║░░░██║░░╚═╝██████╔╝
░░░██║░░░██║░░██╗██╔═══╝░
░░░██║░░░╚█████╔╝██║░░░░░
░░░╚═╝░░░░╚════╝░╚═╝░░░░░

░██████╗███████╗██████╗░██╗░░░██╗███████╗██████╗░ ██╔════╝██╔════╝██╔══██╗██║░░░██║██╔════╝██╔══██╗ ╚█████╗░█████╗░░██████╔╝╚██╗░██╔╝█████╗░░██████╔╝ ░╚═══██╗██╔══╝░░██╔══██╗░╚████╔╝░██╔══╝░░██╔══██╗ ██████╔╝███████╗██║░░██║░░╚██╔╝░░███████╗██║░░██║ ╚═════╝░╚══════╝╚═╝░░╚═╝░░░╚═╝░░░╚══════╝╚═╝░░╚═╝

Our project is a TCP chat server in which multiple client/users will be able to communicate with each other. The TCP server will run on localhost and will allow user to chat with one another if they are on the same network. The server code will use winsocks2 and W2tpcip header files so that the server can create and maintain sockets on Windows. The Project file also contains code for our client, through which our users can access the server. The server will act as an intermediary between the client to make a bare-bones group chat. As the server use winsocks it will only work on a Windows machine.

Directories

/src : contains all the source code for our project

/build : contains all binaries of the project

/.vscode : VS Code configuration file

/testing : contains code to be merged later and future update idea's

Files

client.cpp : code for our client

server.cpp : code for bare-bones TCP server (allows only one client)

Multi-Server.cpp : code for our TCP server (allows multiple clients)

Makefile : build instructions for g++ to include ws2_32.lib while building executables and where to place complied binaries

tcp-server's People

Contributors

rishavgg avatar snowkluster avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

snowkluster

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.