25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

11.1 Characteristics of applications<br />

Each of the application protocols share come common characteristics:<br />

► They can be user-written applications or applications st<strong>and</strong>ardized <strong>and</strong><br />

shipped with the <strong>TCP</strong>/<strong>IP</strong> product. Examples of applications native to the<br />

<strong>TCP</strong>/<strong>IP</strong> protocol suite include:<br />

– Telnet, which provides interactive terminal access to remote hosts<br />

– The File Transfer Protocol (FTP), which provides the ability to transfer files<br />

between remote hosts<br />

– The Simple Mail Transfer Protocol (SMTP), which provides an Internet<br />

mailing system<br />

While these are widely implemented application protocols, many others exist.<br />

► They use either UDP or <strong>TCP</strong> as a transport mechanism. Remember that UDP<br />

(see 4.2, “User Datagram Protocol (UDP)” on page 146) is unreliable <strong>and</strong><br />

offers no flow control. In this case, the application must provide its own error<br />

recovery <strong>and</strong> flow control routines. For this reason, it is often easier to build<br />

applications that use <strong>TCP</strong> (see 4.3, “Transmission Control Protocol (<strong>TCP</strong>)” on<br />

page 149), a reliable, connection-oriented protocol.<br />

► Most applications implement the client/server model of interaction.<br />

11.1.1 The client/server model<br />

<strong>TCP</strong> is a peer-to-peer, connection-oriented protocol. There are no<br />

master/subordinate relationships, in which one instance of the application<br />

protocol controls or is controlled by another instance. Instead, the applications<br />

use a client/server model for communications. In such a model, the server offers<br />

a service to users. The client is the interface by which the user accesses the<br />

offered service. Both a client instance <strong>and</strong> a server instance must be active for<br />

the application protocol to operate. Note that the both instances can reside on<br />

the same host or on different hosts (see Figure 11-1 on page 409).<br />

408 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong>

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

Saved successfully!

Ooh no, something went wrong!