https://github.com/reloaded-project/reloaded.messaging
Reloaded II's extensible "event-like" solution for passing messages across a local or remote network that sits ontop of LiteNetLib.
https://github.com/reloaded-project/reloaded.messaging
litenetlib mod-api mod-loader networking reloaded udp
Last synced: 7 months ago
JSON representation
Reloaded II's extensible "event-like" solution for passing messages across a local or remote network that sits ontop of LiteNetLib.
- Host: GitHub
- URL: https://github.com/reloaded-project/reloaded.messaging
- Owner: Reloaded-Project
- License: mit
- Created: 2019-06-28T16:15:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-17T19:32:48.000Z (over 1 year ago)
- Last Synced: 2025-06-11T16:35:20.384Z (8 months ago)
- Topics: litenetlib, mod-api, mod-loader, networking, reloaded, udp
- Language: C#
- Size: 651 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
Reloaded II: Networking Module
Assert.Equal(funnyMessage, Dio)
# Introduction
Reloaded.Networking is library that adds support for simple, high performance message packing to existing networking libraries.
Specifically, it provides a minimal framework for performing the following tasks:
- Asynchronous message processing for external networking libraries.
- Sending/Receiving messages with (de)serialization and [optional] (de)compression.
- Automatically dispatching messages to appropriate handlers (per message type).
It was originally created for Reloaded II, however has been extended in the hope of becoming a more general purpose library.
This library is heavily optimized for achieving high throughput for messages `< 128KB`.
## Characteristics
- High performance. (Memory pooling, allocation free).
- Low networking overhead.
- Custom serializer/compressor per class type.
- Simple message packing/protocol.
- 1 byte overhead for uncompressed, 5 bytes for compressed.
- Unsafe.
## Documentation
More information can be found in the [dedicated documentation site](https://reloaded-project.github.io/Reloaded.Messaging).