hannesnisula / ducklib

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

Net message/packet reliability #49

Open hannesnisula opened 10 months ago

hannesnisula commented 10 months 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.

hannesnisula commented 10 months 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.