Jump to content

Binary protocol

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by CDarklock (talk | contribs) at 01:36, 12 July 2007 (New article, quickly thrown together). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

A binary protocol is a protocol which is intended or expected to be read by a machine rather than a human being, as opposed to a plain text protocol such as IRC, SMTP, or HTTP. Binary protocols have the advantage of terseness, which translates into speed of transmission and interpretation.

There has always been tension between two software development camps that believe new protocols should preferably be text based or binary, respectively. In recent years, with the ready availability of network bandwidth and mass storage, the text based camp has been gaining significant ground - XML based systems are nearly ubiquitous - but the debate continues[1].

References

  1. ^ http://www.webservices.org/weblog/mark_little/soap_for_the_masses A representative discussion of text and binary protocol debate, by Mark Little

Chapter 5 of "The Tao of Unix Programming" champions textual formats over binary protocols.