Sockets API #205
Replies: 3 comments 5 replies
-
As soon as this is added, someone will write a 10-line program that tunnels IP over Reticulum, and everyone will fall back into writing IP-based programs, that just happen to tunnel stuff over the underlying Reticulum transport medium, thus killing the entire purpose of Reticulum in the first place ;) (Apart from some niche cases, like IP-over-Reticulum VPNs, and other useful utilities) That being said, there is a |
Beta Was this translation helpful? Give feedback.
-
I think you're right there. And it's stupidly easy ;) Just for fun, I already wrote small program creating a full virtual ethernet device tunneled over Reticulum. Just showing up as a
And intentionally so, though it is a little basic currently. But the design philosophy is that you will not need to handle a lot of this yourself. The stack should be able to mitigate almost all of this stuff by itself. There will be a few more controls in the future though.
Reticulum can already handle this quite well. The only kind of traffic that can be flood-routed is announces, and those will by default be limited to 2% of link capacity (user configurable though). If that is exceeded, announces (and other management traffic) is queued and prioritised according to a set of rules that ensures that local network segments will still work even though a storm of annonces are coming in from a fast interface. This is also why you can directly link fast and slow networks in Reticulum. It handles management traffic flow between them in a sensible manner.
I think the ability to function over low-bandwidth mediums is just as important actually. It's sort of a trifecta of features, once you have all three, some pretty great stuff is possible :) |
Beta Was this translation helpful? Give feedback.
-
i find myself using streams to move data a lot instead of request/response pattern. using streams for non-IP based data would be awesome if that is possible. just thinking about using something like websockets to send and receive non-IP stuff sounds cool. |
Beta Was this translation helpful? Give feedback.
-
The ability for programmers to establish a link and open a bidirectional stream on each end of it will facilitate the development of interactive applications.
Beta Was this translation helpful? Give feedback.
All reactions