



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




In this lecture we take a look at protocols. A protocol is an agreement between two or more computers for how they will carry out a task on a network. We take a look at what sort of information is provided in a protocol and what the relationship between protocols and programs is. Protocols on the Internet are layered. We explore what this means and then look at the four different layers of protocols. We study the Internet Protocol (IP) in some depth, seeing how it uses Packets for transmitting information and study some of the implications of using these Packets. We also see how the Transmission Control Protocol (TCP) builds on top of the Internet Protocol, providing a more robust platform on which we can build applications. Protocols We now have our computers physically connected to one another and we have a means of uniquely identifying computers within the network or internetwork. What else do we need to do for our network? We need to define protocols that will be used to carry out tasks. A Protocol is an agreement between computers that specifies how the computers will work together.
A request, for example, might specify what character encodings the requester is able to use (e.g., UTF- 8 Unicode) or it might specify that the requester doesn’t want to be tracked. A response might include not only the resource requested, but might give an indication of how long the information will be good for and when it will expire. Finally, we have a series of codes that indicate if the request has been successfully carried out or 404 the resource was not found, 403 the resource is there, but the requester doesn’t have permission to access it, 501 the server is hosed, etc.
These protocols are very low level and they are below the level almost all programmers would want to work at. Essentially the company creating the new type of network would specify the Physical Layer protocols, and everyone else would work at a higher level. Network Layer The Network Layer provides for a uniform model for getting information across the Internet, but it does so with some very severe limitations. On the Internet the network protocol used is the Internet Protocol or IP. When we talked about IP Addresses in the last lecture, those were defined by this protocol. The Internet Protocol specifies that:
o Their implementation assumes that if they break things down into IP Packet sized chunks, there will be a best-effort attempt to get the data to the destination IP Address.
You may also hear of SSL (Secure Socket Layer) which is the predecessor to TLS.