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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

244 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong><br />

This can be better described as creating a 5-bit string starting with 1<br />

followed by the 4 bits of mant, <strong>and</strong> then shifting this string exp+3 to the left.<br />

The resulting value is the maximum response time. For example, assume<br />

that the value of maximum response code is decimal 178. The bit string<br />

representation of this is 10110010. From this, the fields of the maximum<br />

response code are:<br />

Byte 0 = 1<br />

exp = 011<br />

mant = 0010<br />

The subsequent calculations are (note that the exp calculation uses a<br />

binary representation of decimal 3):<br />

(mant OR 0x10) = (0010 OR 10000) = 10010<br />

10010

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

Saved successfully!

Ooh no, something went wrong!