tosc-rs / mgnp

MnemOS Global Networking Protocol
Creative Commons Attribution Share Alike 4.0 International
14 stars 1 forks source link

feat(mgnp): initial MGNP protocol implementation #2

Closed hawkw closed 8 months ago

hawkw commented 10 months ago

This branch adds a rough, but basically working, implementation of an initial MGNP protocol library, including a connection-management state machine and routing. I've written a single integration test with two peers running in separate Tokio tasks and communicating over a Tokio MPSC of frames, where one peer connects to a "hello world" service on the remote and they exchange "hello world" messages with each other, and that seems to basically work.

Some things that aren't done yet include:

I'd prefer to save all of this work for follow-up branches and get the current working impl merged, so that we can move forward with what we have currently.