Updated spec from #pinoccio project blathers user comments:
Hi blathers, thank you for the great comments and questions on ATP!
blathers, I updated the spec document to incorporate your changes and feedback
it now reflects the push-pull approach
I added text to describe the network and stack ATP needs
AUID is a hash for situations where a peer crashed or went offline temporarily during a transfer session.
I changed the AUID spec to include a 2 bit packet-type value.
I moved the version byte forward.
I changed the file type descriptor to a 5 character array, and reference MIME type abbreviations from http://www.abbreviations.com/acronyms/MIMETYPES
The Source and Destination fields are used depending on which peer you are in: Lead Peer will use Destination while Peer 1 will use Source
I changed Filename to be a null-terminated string
I’m not sure how the compression mechanism will actually work. We will see. The spec will likely change once I implement the protocol. The lengths in the packets are after compression.
Finally, I did not use a markup format like markdown or restructured text because I didn’t know about them. And now I do! :-) Thanks!