https://github.com/bitbloxhub/motcp
Messages Over TCP: send messages in BSON over the network
https://github.com/bitbloxhub/motcp
Last synced: 2 months ago
JSON representation
Messages Over TCP: send messages in BSON over the network
- Host: GitHub
- URL: https://github.com/bitbloxhub/motcp
- Owner: bitbloxhub
- Created: 2021-10-18T18:25:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-18T20:34:26.000Z (over 3 years ago)
- Last Synced: 2025-02-15T05:25:33.290Z (4 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `MOTCP`: Messages Over `TCP`
## About
With `MOTCP`, you can send messages in [BSON](https://bsonspec.org/) over a `TCP` connection.
If you need encryption, we reccomend [ghosttunnel](https://github.com/ghostunnel/ghostunnel).
## A Message
A message is composed of a unsigned big-endian 32-bit `length`, and a `length` bytes message in BSON
## The Protocol
The client can send messages to the server simply by sending the mesage over tcp to the server, and vice versa