Skip to content

andrussal/p2pchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple p2p chat application

Description

This is a simple p2p chat application that doesn't have a central server that coordinates communication. Instead, each node sends messages to all other peers.

Currently only nodes connecting to all other nodes is implemented. Sending user messages is not yet done.

TODO

  • Allow server to accept user messages from command line and broadcast them to all other nodes.
  • Instead of all nodes connecting with every other node, use gossip protocol to connect with a subset of nodes.
  • Use tokio Frame to encode/decode messages. See tokio documentation for more information.
  • Use Serde to serialise/deserialise messages.
  • Use a standard serialisation format like JSON or Protobuf.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages