on d452c09 help sign in
27 lines 1.1 kB history raw
1---
2sort: 1
3---
5`%ames`
6=======
8Our networking protocol.
10`%ames` is the name of both our network and the vane that communicates
11over it. When Unix receives a packet over the correct UDP port, it pipes
12it straight into `%ames` for handling. Also, all packets sent over the
13`%ames` network are sent by the `%ames` vane. Apps and vanes may use
14`%ames` to directly send messages to other ships. In general, apps use
15gall and clay to communicate with other ships rather than using `%ames`
16directly, but this isn't a requirement. Of course, gall and clay use
17`%ames` behind the scenes to communicate across the network. These are
18the only two vanes that use `%ames`.
20`%ames` includes several significant components. Although the actual
21crypto algorithms are defined in zuse, they're used extensively in
22`%ames` for encrypting and decrypting packets. Congestion control and
23routing is handled entirely in `%ames`. Finally, the actual `%ames`
24protocol itself, including how to route incoming packets to the correct
25vane or app, is defined in `%ames`.
27<list></list>