09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Layer 4 service. ICMP messages are wrapped and transported as IP datagrams in<br />

<strong>the</strong> same way that TCP and UDP are transported.<br />

Layer 4: TCP and UDP<br />

Transmission Control Pro<strong>to</strong>col (TCP) and User Datagram Pro<strong>to</strong>col<br />

(UDP) are <strong>the</strong> transport pro<strong>to</strong>cols (OSI Layer 4) for <strong>the</strong> TCP/IP<br />

pro<strong>to</strong>col suite. The transport layer, as you might recall, provides <strong>the</strong><br />

<strong>network</strong>-independent process connection services between host<br />

client/server applications. These processes can be<br />

connection-oriented (similar <strong>to</strong> making a phone call), an immediate<br />

point-<strong>to</strong>-point communication, or connectionless, like sending a letter<br />

through <strong>the</strong> mail. After it is sent, it might or might not arrive within a<br />

reasonable time frame, and if it gets lost, you can always send<br />

ano<strong>the</strong>r.<br />

Connection-oriented processes are point-<strong>to</strong>-point communication<br />

streams. These connections are thought of as virtual circuits (VCs).<br />

Each VC connection is distinct and used only for host-<strong>to</strong>-host<br />

communication for a single process. In o<strong>the</strong>r words, a host with<br />

multiple TCP communication sessions would have a separate VC for<br />

each process. Connection-oriented transports are used for<br />

interapplication communication processes that have <strong>the</strong> following<br />

requirements:<br />

• Dedicated connection setup and maintenance<br />

• Delivery acknowledgment (by <strong>the</strong> destination host)<br />

• Guaranteed byte-stream sequencing<br />

Connectionless transport processes use standalone message units or<br />

datagrams <strong>to</strong> transport interapplication data. Connectionless<br />

transport is faster than connection-oriented transport because it does<br />

not have <strong>the</strong> flow control and data integrity mechanisms.<br />

Connectionless transport is used when <strong>the</strong> application is looking for<br />

fast data transport and needs <strong>to</strong> control <strong>the</strong> transmission process,<br />

such as with remote file and print services and fast query response<br />

transactions. The hallmarks of connectionless transport are as<br />

follows:<br />

• Response-based, event-oriented messages<br />

• No guaranteed delivery<br />

• No data sequencing

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!