Ola Mundo
Artigos Científicos: Ola Mundo. Pesquise 862.000+ trabalhos acadêmicosPor: caciano • 15/5/2014 • 203 Palavras (1 Páginas) • 317 Visualizações
layers. For example, error control is often provided at more than one layer.
21. The five layers in the Internet protocol stack are – from top to bottom – the application layer, the transport layer, the network layer, the link layer, and the physical layer. The principal responsibilities are outlined in Section 1.7.1.
22. application-layer message: data which an application wants to send and passed onto the transport layer; transport-layer segment: generated by the transport layer and encapsulates application-layer message with transport layer header; network-layer datagram: encapsulates transport-layer segment with a network-layer header; link-layer frame: encapsulates network-layer datagram with a link-layer header.
23. Routers process layers 1 through 3. (This is a little bit of a white lie, as modern routers sometimes act as firewalls or caching components, and process layer four as well.) Link layer switches process layers 1 through 2. Hosts process all five layers.
Chapter 1 Problems
Problem 1.
There is no single right answer to this question. Many protocols would do the trick. Here's a simple answer below:
Messages from ATM machine to Server
Msg name purpose
-------- -------
HELO <userid> Let server know that there is a card in the ATM machine
ATM card transmits user ID to Server
PASSWD <passwd> User enters PIN, which is sent to server
BALANCE User requests balance
WITHDRAWL <amount> User asks
...