hnisula / ducklib

A library made out of ducks
1 stars 0 forks source link

Net message/packet reliability #49

Open hnisula opened 1 year ago

hnisula commented 1 year ago

There must be a way to reliably send packets/messages that should also be ordered correctly upon reception. This must be at a higher level than the socket layer (that (probably) includes the packet fragmentation) as it is the contents (messages?) within the "socket packets" that must be either reliable or fire-and-forget.

Messages are data structures that are put within a packet.

hnisula commented 1 year ago

As this should probably be done in a 1-1 connection between two peers, it is perhaps better to implement the connection concept and add this as a functionality upon that.