Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ debra Public

A simple quic server allowing clients to communicate between each other

Notifications You must be signed in to change notification settings

era/debra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

8 Commits

Repository files navigation

Debra: A simple chat demo application using QUIC

Overview

Debra is a simple chat demo application that utilizes the QUIC protocol through the quinn (Dexter fans, did you see what I did here? :P) library in Rust. It allows multiple clients to connect to a server and send messages to each other in real-time.

It uses flatbuffers (so we can use zero-copy on the server) for the communication between clients.

To run the server:

RUST_LOG=info cargo run --bin server

To run the clients you must specify the client id:

cargo run --bin client -- --client-id 2

After that you enter the id of the client you want to send a message, press enter. Write the message and press enter, done!

I describe this as a "chat application", but the main idea is that you can have multiple clients, sending messages to each other through the server. This could be used to for different reasons.

References

  • QUIC - The protocol that powers this chat application.
  • FlatBuffers - For efficient serialization of messages.

About

A simple quic server allowing clients to communicate between each other

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /