FunProtocol

Freely Understood Nootropic Protocol. Every datagram starts with a u16 for the 'type' to select a 'parser'

PRINCIPLES:

IMPLEMENTATION:

GyudonAddict: Some of my ideas take inspiration from ChaosNet, but unlike that I think the focus should be on a protocol entirely designed for a single, two-way communication.

PACKET STRUCTURE: u16[4] header, consisting of

A packet can be controlled or uncontrolled, with a packet number of 1-65535 or 0, respectively. The control programs on each side will try to manage the well-ordering and retransmission of controlled packets. Packet numbers roll over back to 1.

PACKET TYPES:

The rest of the packet is data, which has yet to be decided.

RESPONSIBILITY:

The specifics of how each control program decides to handle incoming and outgoing data shouldn't be a central issue in this protocol, so how one end handles the reliability of the transmission shouldn't matter to the other end, as long as it gets all that it needs. For example, one program might decide to retransmit packets, order them and keep track of duplicates, while another might only stop and wait and refuse all but the next packet in line.


home // reverse // older // edit // modified: 2025.01.08 [Wed] 02:05