Giter Site home page Giter Site logo

portchat's Introduction

Port based chat

Build Status

To chat, use netcat to connect to server and send it messages

To build the project, use make build to build it. To run the project, use make run port=8080 with 8080 being the port number to open. Also, can be run using ./main 8080.

portchat's People

Contributors

alexander-jackson avatar freddiebrown avatar

Stargazers

 avatar

Watchers

 avatar  avatar

portchat's Issues

Make README look better and explain functionality within it

README is currently looking a bit poor and so could be made to look a bit more jazzy. Extend the README to have better setup instructions and explain what the program can do to make it easier for new users. Also explain about how to contribute to the repo.

Clean buffer properly after sending

Buffer doesn't clean properly after sending message from createMessage. This means that, when 2 messages are sent back to back it sends the previous message plus the new message. This continues for subsequent messages too

Allow multiple clients to connect to server

Currently the program only allows a single client to connect to a server at 1 time. This enhancement should allow multiple clients to connect to the server at the same time to allow then to each send messages to the server and to allow the server to send messages to multiple clients at once.

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.