diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-21 00:11:27 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-21 00:11:27 +0200 |
commit | f6eef73f7f0e805811bb9c2d748c17d558615a74 (patch) | |
tree | c4873c645c1ffb7893863a040ed5f9a542c191bf /README.md | |
parent | 4fe82b42b6f6fb1a69da2fb2823831e6b3eaa036 (diff) |
Added README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..2b02f02 --- /dev/null +++ b/README.md @@ -0,0 +1,37 @@ +# Chatty +- use memory arena's to manage memory + +# Server +The idea is the following: +- tcp server that you can send messages to +- encrypted communication +- history upon connecting +- date of messages sent +- author +- fingeprint as ID for authorship +- client for reading the messages and sending them at the same time + +- min height & width +- wrapping input +- max y for new messages and make them scroll +- check resize event +- asynchronously receive/send a message +- fix receiving messages with arbitrary text length + +## TODO: send message to all other clients +- implement different rooms +- implement history + - [ ] fix server copying the bytes correctly +- implement tls + + +# Client +- bug: when having multiple messages and resizing a lot, the output will be in shambles +- bug: when resizing afters sending messages over network it crashes +- use pointer for add_message +- validation of sent/received messages +- handle disconnection + +# Questions +- will two consecutive sends be read in one recv +- can you recv a message in two messages |