An open API service indexing awesome lists of open source software.

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

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