WWW FAQs: What is a protocol?


2006-08-07: On the Internet, the word "protocol" refers to a set of rules for communicating. Two programs or computers that follow the same rules are able to exchange information, even if they don't run the same operating system and are not made by the same company.

Sometimes protocols are "layered" on top of other protocols, taking advantage of what's already there and adding additional capabilities.

Examples of Internet protocols include the HTTP protocol spoken by web browsers and web servers, the FTP protocol for transferring files, and the TCP/IP protocols on which both of these are based.

Legal Note: yes, you may use sample HTML, Javascript, PHP and other code presented above in your own projects. You may not reproduce large portions of the text of the article without our express permission.

Got a LiveJournal account? Keep up with the latest articles in this FAQ by adding our syndicated feed to your friends list!