-
🔭 I’m currently working on Machine learning, AI and LLMs.
-
📫 How to reach me [email protected]
ademclk / datachat Goto Github PK
View Code? Open in Web Editor NEWA program for communication between clients through server.
A program for communication between clients through server.
🔭 I’m currently working on Machine learning, AI and LLMs.
📫 How to reach me [email protected]
All chat and messages should be written to a text file. The filename should be built from the current date, time, and user name, and the logs should be stored in a subdirectory called "logs".
Use Message class instead of strings.
The system should implement error checking algorithms to verify message integrity. The project description mentions Simple Parity Check, Two-dimensional Parity check, Checksum and Cyclic Redundancy Check (CRC).
Only use the implementations Simple Parity Check and Cyclic Redundancy Check (CRC).
Update message structure.
sender username | Command Type | content | [Checking bits (Method 1)] [Checking bits (Method 2)]
Method1 = Parity Bity
Method2 = CRC
There’s a problem that when you send multiple messages to the client, they receive it as a single message.
This is a common issue with TCP, which is a stream-based protocol and does not guarantee that messages will arrive as sent. Instead, TCP guarantees that all bytes will arrive in the order they were sent.
This means that if we send two messages, "Hello" and "World", it's possible that the client will receive them as a single message, "HelloWorld". It causes an error while checking parity bits.
To handle this, implement a message framing protocol on top of TCP. One common method is to prefix each message with its length.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.