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.

WCMP message structure<br />

The message structure of WCMP messages varies based on the type of wireless<br />

bearer used by the originator or the message, as well as the type of the WCAMP<br />

message. However, every WCMP does adhere to a general format, as defined in<br />

Figure 18-10.<br />

Bit/Octet 0 1 2 3 4 5 6 7<br />

1 Type of control message<br />

2 Code of control message<br />

3-n Data fields for WCMP (0...n octets)<br />

Figure 18-10 General WCMP message structure<br />

18.9.4 Wireless Transaction Protocol (WTP)<br />

The Wireless Transaction Protocol, defined in the OMA<br />

WAP-224-WTP-20010710-a specification, provides a mechanism especially<br />

designed for WAP terminals with limited resources over networks <strong>and</strong> with low to<br />

medium b<strong>and</strong>width. This technology allows more subscribers on the same<br />

network due to reduced b<strong>and</strong>width utilization.<br />

WTP provides unreliable <strong>and</strong> reliable data transfer based on the request/reply<br />

paradigm. Unlike <strong>TCP</strong>, there is no connection setup <strong>and</strong> tear down. Compared to<br />

<strong>TCP</strong>, where a SYN <strong>and</strong> ACK flow is started before the first data is transmitted,<br />

WTP carries data in the first packet of the protocol exchange. Additionally, WTP<br />

employs a message-oriented model, as opposed to <strong>TCP</strong>’s stream-oriented<br />

implementation.<br />

WTP classes of operation<br />

There are three classes of operation, numbering zero through two.<br />

Class 0<br />

Class 0 is defined by the OMA specification as “unconfirmed invoke message<br />

with no result message.” This is a datagram that can be sent within the context of<br />

an existing WSP session (see 18.9.5, “Wireless Session Protocol (WSP)” on<br />

page 682). However, it is not intended to be a primary method of sending<br />

Chapter 18. Wireless Application Protocol 679

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

Saved successfully!

Ooh no, something went wrong!