ࡱ; )  !"#$%&'(*+,Root Entry  !"#$%&'()*+,-./01235789:;<=>?@ABCDEFGHIJKLMNPQRS ®`VTextStarWriter 5.081H?Z SfxDocumentInfo  Tim Hurman /1d Tim Hurman /1M Tim Hurman /1 Info 0 Info 1 Info 2 Info 3 /1>. <TASK,0,102,0,100,1,2655;19950;100;0;12600;16200;23175;0;0rSWG, A<  #$%&'()*./0123456789:;<=>?@ABCDGHK  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFQRSTU^0 '"@ helveticaX'4@d @d Bs XXX"'@X'(a@=V..q ..?..$..8. q . XXX&X2X>@'1f@dddddd6ddd6QdddQXX!X4XGA'2*@dxddxdXX7S;@X8S<@;X9S=@`XR'D@X<|zPt$' '(. . p. @ . . . . . P. . . !. $. `'. 0*. -. /. 2. p5. @8. ;. =. @. 6')2 7GraphicGraphic@;7S<8S=9S>> StandardStandard@IndexStandardIndex@ Contents 2Index Contents 2@('1@' HeadingStandard Text body@''2A'DR'  Text bodyStandard Text body2A'Contents HeadingHeadingContents Heading@''1@' Contents 1Index Contents 1@('1@' Contents 3Index Contents 3@('1@' Contents 4Index Contents 4@('1@' Heading 1Heading Text body'' Text body indent Text bodyText body indent1@'FooterStandardFooter('HeaderStandardHeader@('ZI#f9qSW5HDR.0/1M!Outline0 #ZGRF51F BM76(FSDx^WYrF!@@voJHOnʏ;) T.(b^!"Z^V V+y?x^yyQqq/xokz^iź RS5ؾkdi֮{>U0o;\g,R.)^SiQUOVj_vZZjRi6K)`((#mayUE'Z7\C)|`B;kӪ,h;dп|h*༡JRثuC q^:^!v<1yBBTG@ d<2Vj=ęt]z2DMV; \g_%;WlFE_,%nJ0Yz [j] :|цcsQ#MPFXCode@΁D 2=m߽G%8(y>?D >V rdo[1sM̖eƙi)]r,)0؝Zm{ts%kҕr qIuZ=~)q[|1 5d}<M!xg4¡jLǮ<6y85:3YS`)5@T)gg'p?>Vu 甛șp{p:O#6)hLkDH`gSjɔeȏ\oN0 ^4͖F Mܬp?3*ycۗG`2o3SG,5ǒ2V*iVwGYMJikKR ,E_+7%686w޴|Y}=@ ԃ##N U2n_]O*ybN3j8vb`Z/q E3+{}3w =%sp˯[_jjSq{{^M8( هIޡ }j=G;ݫ>@qũ>C У,eFv'x3_ҏ@ 1]nG˧Mn";v7#s n{(/#R:cjsGܱϭ.m5KmZ0CZۭfGʆ!'N83(Lmu% 2fX)ʺ^}_E4b %Oh+'0 h t 9@'Ô@J@M@Js Tim Hurman Tim HurmanSW5HDR.0/1M!G Frameformat ZeichenformatTextformatvorlageStandard Index Contents 2 Heading Text body Contents Heading Contents 1 Contents 3 Contents 4  Heading 1Text body indentFooterHeaderRoot 17 Graphic Graphic1 19Standard  Illustration Table TextDrawingY .Y .Y .Y .q2x GeneralGeneraldNC#,###.00#,###.00SystemNC #,##0.00 CCC#,##0.00 CCCNC$#,##0.--;[RED]-$#,##0.-- $#,##0.---$#,##0.--REDNC$ MM/DD/YYYYMM/DD/YYYY def/SystemNC%MM/DD/YYMM/DD/YY def/SystemNC&NNNNMMMM DD, YYYYNNNNMMMM  DD, YYYYSystemNC' MMM D, YYMMM D, YY def/SystemNC. [HH]:MM:SS.00 [HH ]:MM:SS .00NC3MM/DD/YYYY HH:MM:SS MM/DD/YYYY HH :MM:SS  NCK MMM D, YYYYMMM D, YYYY def/SystemNCL MMMM D, YYYYMMMM  D, YYYY def/SystemNCM NN, MMM D, YYNN, MMM D, YY def/SystemNCNNN, MMMM D, YYYYNN, MMMM  D, YYYY def/SystemNCONNNNMMMM D, YYYYNNNNMMMM  D, YYYY def/SystemNCP D. MMM. YYYYD. MMM. YYYYDIN 5008 (EN 28601)NCQ D. MMMM YYYYD. MMMM  YYYYDIN 5008 (EN 28601)NCRMM-DDMM-DDDIN 5008 (EN 28601)NCSYY-MM-DDYY-MM-DDDIN 5008 (EN 28601)NCT YYYY-MM-DDYYYY-MM-DDDIN 5008 (EN 28601)NCUWWWWNC GeneralGeneraldNC #,##0.00#,##0.00SystemNC  #,##0.00 CCC#,##0.00 CCCNC #,##0.--;[RED]-#,##0.-- #,##0.---#,##0.--REDNC  DD/MM/YYYYDD/MM/YYYY def/SystemNC DD/MM/YYDD/MM/YY def/SystemNC  DD MMMM YYYYDD MMMM  YYYYSystemNC D MMM YYD MMM YY def/SystemNC  [HH]:MM:SS.00 [HH ]:MM:SS .00NC DD/MM/YYYY HH:MM:SS DD/MM/YYYY HH :MM:SS  NC  D MMM YYYYD MMM YYYY def/SystemNC  D MMMM YYYYD MMMM  YYYY def/SystemNC  NND MMM YYNND MMM YY def/SystemNC  NND MMMM YYYYNND MMMM  YYYY def/SystemNC NNNND MMMM YYYYNNNND MMMM  YYYY def/SystemNC  D. MMM. YYYYD. MMM. YYYYDIN 5008 (EN 28601)NC  D. MMMM YYYYD. MMMM  YYYYDIN 5008 (EN 28601)NC MM-DDMM-DDDIN 5008 (EN 28601)NC YY-MM-DDYY-MM-DDDIN 5008 (EN 28601)NC  YYYY-MM-DDYYYY-MM-DDDIN 5008 (EN 28601)NC WWWWNCBoeoePp 2$99 S`AP.AAPdddAPddAPr  HeaderSAPddAPNTSA @l:SAPAPPNGG> PicEFFFC019S(A `A`A  PA  PAPAPA PA  PSAAP.AAPdddAPddZSW5HDR.0/1MC(517e(Build:4163)(SV517)]DAddress bookaddress!G Frameformat ZeichenformatTextformatvorlageStandard Index Contents 2 Heading Text body Contents Heading Contents 1 Contents 3 Contents 4  Heading 1Text body indentFooterHeaderRoot 17 Graphic Graphic1 19Standard  Illustration Table TextDrawingd?Y1 4 5*j standard.dicY .Y .Y .Y .6FNy ?TSA PTTable of ContentsT  T 1. Introduction 1T1.1. Home Networks 1T 2. Background 2T#2.1. History of TCP/IP 2T%2.2. TCP/IP fundementals 2T-"2.3. 8051 Series Microcontroller 5T,!2.4. Software development tools 6T)2.5. Current Implementations 6TA 2.6. Aims and Objectives 7SAPdddT 3. Development 8T7,3.1. Tools acquisition and accustomisation 8T0%3.2. Basic serial input and output 10T 3.2.1. Design 10T# 3.2.2. Implementation 11T 3.2.2.1 Overview 11T( 3.2.2.2. Interrupt Handler 12T$ 3.2.2.3. Buffer design 12T 3.2.3. Discussion 15T3(3.3. Link Layer (SLIP) implementation 15T 3.3.1. Design 15T# 3.3.2. Implementation 16T 3.3.3. Testing 19T4)3.4. Network layer (IP) implementation 21T 3.4.1. Design 21T# 3.4.2. Implementation 23T* 3.4.2.1. IP datagram receive 23T* 3.4.2.2. Checksum generation 24T 3.4.3. Results 26T&3.5. ICMP implementation 27T 3.5.1. Design 27T# 3.5.2. Implementation 28T( 3.5.3. Testing and results 29T7,3.6. Transport Layer (UDP) implementation 33T 3.6.1. Design 33T# 3.6.2. Implementation 33T 3.6.3. Results 34T7,3.7. Transport Layer (TCP) implementation 35T 3.7.1. Design 35T# 3.7.2. Implementation 37T+ 3.7.2.1. TCP state transition 37T  3.7.2.2. TCP Timer 39T@ 53.7.2.3. TCP connection initiation and termination 40T= 23.7.2.4. TCP data, flow control and restriction 41T 3.7.3. Testing 42T T$3.8. Application layer 44T 3.8.1. Design 44T# 3.8.2. Implementation 44T 3.8.3. Results 45T* 4. Final Testing and Results 46T4.1. Test setup 46T6+4.2. Test 1: ICMP echo request and reply 47T>34.3. Test 2: ICMP echo response to an unknown IP 47T:/4.4. Test 3: UDP/Application layer interface 48T:/4.5. Test 4: TCP/Application layer interface 49T>34.6. Test 5: TCP+UDP/Application layer interface 50T 5. Conclusions 52T5.1. Current work 52T:5.2. Future work 52SAPdddT7 6. References 54SAPdddJColour DeskjetSGENPRT PostScriptDQtQtd,,lp -d colourcolourSGENPRT7 U,%;V88.?3.AUq 6P,Uq (q H-@q Uq ]4?/Bq {B{q kq {Bq xq Bkq Bxq EV Bq Bq EV B q EV B q EV  B q EV  B q EV  B q ET  Bq  Bq EV Bq EV Bq E6; Bq E6; B!q EQ  B.q EQ  B;q EQ  BHq E6; BUq EV Bbq E6; Boq E6; B|q E6; Bq EV Bq E6; Bq E6; Bq EQ  B q EQ  B!q E6; B"q EV  B#q E6; !B$q E6; "B%q E6; #B 'q EV $B(q E6; %B%)q E6; &B2*q E6; 'B?+q EV (BL,q E6; )BY-q E6; *Bf.q EQ  +Bs/q EQ  ,B0q EQ  -B1q EQ  .B2q E6; /*U*%? 3B.AUq 6p,Uq (q H-@q Uq ]4?Bq EV 0B q EV 1Bq E6; 2B'q E6; 3B4q E6; 4BAq 5BNq EV 6B[q EV 7Bhq EV 8Bu q EV 9B q EV :B q EV ;B q <B q EV =Bq ET >Bq ?*U*%J? lZRoot Entry ®`VCompObj<Ole persist elements" SfxDocumentInfo uSfxWindows>SfxStyleSheetsoSwNumRules4UEmbeddedPictures" PicEFFFC0196SummaryInformation( O8SwPageStyleSheets$ StarWriterDocument&"