Code Monkey home page Code Monkey logo

anonymouschatserver's People

Contributors

electron0zero avatar riflerrick avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

anonymouschatserver's Issues

Lots of errors when running on multiple computers

We had a single server and two clients(physical laptops) setup for testing.
When connected with both client things were not working as expected.
Steps to reproduce:

  • spin up a server in a laptop
  • create one or two clients on physical laptops other then the host server laptop.
  • try chatting
  • disconnect and connect again is counted as new user. So on disconnection, the number of active connection counter is not decremented.

Snippet is from one client on one laptop. And log files are from multiple clients on other laptop.

server_log.txt is server log file

capture

log.txt
log1.txt
log2.txt

server_log.txt

cannot handle client disconnections

right now, if a client gets disconnected, the whole server resets and thus all connections are reset and any existing clients are also affected by that one disconnection.

Needs fixing

Display needs to be refined

the console display needs to be refined a bit because right now message relaying is happening properly but the display is not

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.