DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: t

⟦8ad433beb⟧

    Length: 5312 (0x14c0)
    Names: »tcp.4p«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat4/tcp.4p« 

Default Hex Dump

0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 44 65 76 69 63 65 73 20 61 6e 64 20 46 61 63 69   ┆ u_ a_ l        Devices and Faci┆
0x0040…0060 6c 69 74 69 65 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 63 70 28 34 70 29 0a 0a 0a 0a   ┆lities               tcp(4p)    ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x0080…00a0 20 20 74 63 70 20 2d 20 49 6e 74 65 72 6e 65 74 20 54 72 61 6e 73 6d 69 73 73 69 6f 6e 20 43 6f   ┆  tcp - Internet Transmission Co┆
0x00a0…00c0 6e 74 72 6f 6c 20 50 72 6f 74 6f 63 6f 6c 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08   ┆ntrol Protocol  S S S SY Y Y YN ┆
0x00c0…00e0 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20   ┆N N NT T T TA A A AX X X X      ┆
0x00e0…0100 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08   ┆# # # #i i i in n n nc c c cl l ┆
0x0100…0120 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c   ┆l lu u u ud d d de e e e < < < <┆
0x0120…0140 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 74 08 74 08   ┆s s s sy y y ys s s s/ / / /t t ┆
0x0140…0160 74 08 74 79 08 79 08 79 08 79 70 08 70 08 70 08 70 65 08 65 08 65 08 65 73 08 73 08 73 08 73 2e   ┆t ty y y yp p p pe e e es s s s.┆
0x0160…0180 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08   ┆ . . .h h h h> > > >      # # # ┆
0x0180…01a0 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75   ┆#i i i in n n nc c c cl l l lu u┆
0x01a0…01c0 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08   ┆ u ud d d de e e e < < < <s s s ┆
0x01c0…01e0 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 73 08 73 08 73 08 73 6f 08 6f   ┆sy y y ys s s s/ / / /s s s so o┆
0x01e0…0200 08 6f 08 6f 63 08 63 08 63 08 63 6b 08 6b 08 6b 08 6b 65 08 65 08 65 08 65 74 08 74 08 74 08 74   ┆ o oc c c ck k k ke e e et t t t┆
0x0200…0220 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23   ┆. . . .h h h h> > > >      # # #┆
0x0220…0240 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08   ┆ #i i i in n n nc c c cl l l lu ┆
0x0240…0260 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 6e 08 6e 08 6e   ┆u u ud d d de e e e < < < <n n n┆
0x0260…0280 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 65 08   ┆ ne e e et t t ti i i in n n ne ┆
0x0280…02a0 65 08 65 08 65 74 08 74 08 74 08 74 2f 08 2f 08 2f 08 2f 69 08 69 08 69 08 69 6e 08 6e 08 6e 08   ┆e e et t t t/ / / /i i i in n n ┆
0x02a0…02c0 6e 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 73 08 73   ┆n. . . .h h h h> > > >       s s┆
0x02c0…02e0 08 73 08 73 20 3d 08 3d 08 3d 08 3d 20 73 08 73 08 73 08 73 6f 08 6f 08 6f 08 6f 63 08 63 08 63   ┆ s s = = = = s s s so o o oc c c┆
0x02e0…0300 08 63 6b 08 6b 08 6b 08 6b 65 08 65 08 65 08 65 74 08 74 08 74 08 74 28 08 28 08 28 08 28 41 08   ┆ ck k k ke e e et t t t( ( ( (A ┆
0x0300…0320 41 08 41 08 41 46 08 46 08 46 08 46 5f 08 5f 08 5f 08 5f 49 08 49 08 49 08 49 4e 08 4e 08 4e 08   ┆A A AF F F F_ _ _ _I I I IN N N ┆
0x0320…0340 4e 45 08 45 08 45 08 45 54 08 54 08 54 08 54 2c 08 2c 08 2c 08 2c 20 53 08 53 08 53 08 53 4f 08   ┆NE E E ET T T T, , , , S S S SO ┆
0x0340…0360 4f 08 4f 08 4f 43 08 43 08 43 08 43 4b 08 4b 08 4b 08 4b 5f 08 5f 08 5f 08 5f 53 08 53 08 53 08   ┆O O OC C C CK K K K_ _ _ _S S S ┆
0x0360…0380 53 54 08 54 08 54 08 54 52 08 52 08 52 08 52 45 08 45 08 45 08 45 41 08 41 08 41 08 41 4d 08 4d   ┆ST T T TR R R RE E E EA A A AM M┆
0x0380…03a0 08 4d 08 4d 2c 08 2c 08 2c 08 2c 20 30 08 30 08 30 08 30 29 08 29 08 29 08 29 3b 08 3b 08 3b 08   ┆ M M, , , , 0 0 0 0) ) ) ); ; ; ┆
0x03a0…03c0 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52   ┆;  D D D DE E E ES S S SC C C CR┆
0x03c0…03e0 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49   ┆ R R RI I I IP P P PT T T TI I I┆
0x03e0…0400 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 65 20 54 43 50 20 70 72   ┆ IO O O ON N N N      The TCP pr┆
0x0400…0420 6f 74 6f 63 6f 6c 20 70 72 6f 76 69 64 65 73 20 72 65 6c 69 61 62 6c 65 2c 20 66 6c 6f 77 2d 63   ┆otocol provides reliable, flow-c┆
0x0420…0440 6f 6e 74 72 6f 6c 6c 65 64 2c 20 74 77 6f 2d 77 61 79 0a 20 20 20 20 20 74 72 61 6e 73 6d 69 73   ┆ontrolled, two-way      transmis┆
0x0440…0460 73 69 6f 6e 20 6f 66 20 64 61 74 61 2e 20 20 49 74 20 69 73 20 61 20 62 79 74 65 2d 73 74 72 65   ┆sion of data.  It is a byte-stre┆
0x0460…0480 61 6d 20 70 72 6f 74 6f 63 6f 6c 20 75 73 65 64 20 74 6f 0a 20 20 20 20 20 73 75 70 70 6f 72 74   ┆am protocol used to      support┆
0x0480…04a0 20 74 68 65 20 53 4f 43 4b 5f 53 54 52 45 41 4d 20 61 62 73 74 72 61 63 74 69 6f 6e 2e 20 20 54   ┆ the SOCK_STREAM abstraction.  T┆
0x04a0…04c0 43 50 20 75 73 65 73 20 74 68 65 20 73 74 61 6e 64 61 72 64 0a 20 20 20 20 20 49 6e 74 65 72 6e   ┆CP uses the standard      Intern┆
0x04c0…04e0 65 74 20 61 64 64 72 65 73 73 20 66 6f 72 6d 61 74 20 61 6e 64 2c 20 69 6e 20 61 64 64 69 74 69   ┆et address format and, in additi┆
0x04e0…0500 6f 6e 2c 20 70 72 6f 76 69 64 65 73 20 61 20 70 65 72 2d 0a 20 20 20 20 20 68 6f 73 74 20 63 6f   ┆on, provides a per-      host co┆
0x0500…0520 6c 6c 65 63 74 69 6f 6e 20 6f 66 20 22 70 6f 72 74 20 61 64 64 72 65 73 73 65 73 22 2e 20 20 54   ┆llection of "port addresses".  T┆
0x0520…0540 68 75 73 2c 20 65 61 63 68 20 61 64 64 72 65 73 73 20 69 73 0a 20 20 20 20 20 63 6f 6d 70 6f 73   ┆hus, each address is      compos┆
0x0540…0560 65 64 20 6f 66 20 61 6e 20 49 6e 74 65 72 6e 65 74 20 61 64 64 72 65 73 73 20 73 70 65 63 69 66   ┆ed of an Internet address specif┆
0x0560…0580 79 69 6e 67 20 74 68 65 20 68 6f 73 74 20 61 6e 64 20 6e 65 74 2d 0a 20 20 20 20 20 77 6f 72 6b   ┆ying the host and net-      work┆
0x0580…05a0 2c 20 77 69 74 68 20 61 20 73 70 65 63 69 66 69 63 20 54 43 50 20 70 6f 72 74 20 6f 6e 20 74 68   ┆, with a specific TCP port on th┆
0x05a0…05c0 65 20 68 6f 73 74 20 69 64 65 6e 74 69 66 79 69 6e 67 20 74 68 65 0a 20 20 20 20 20 70 65 65 72   ┆e host identifying the      peer┆
0x05c0…05e0 20 65 6e 74 69 74 79 2e 0a 0a 20 20 20 20 20 53 6f 63 6b 65 74 73 20 75 74 69 6c 69 7a 69 6e 67   ┆ entity.       Sockets utilizing┆
0x05e0…0600 20 74 68 65 20 74 63 70 20 70 72 6f 74 6f 63 6f 6c 20 61 72 65 20 65 69 74 68 65 72 20 22 61 63   ┆ the tcp protocol are either "ac┆
0x0600…0620 74 69 76 65 22 20 6f 72 0a 20 20 20 20 20 22 70 61 73 73 69 76 65 22 2e 20 20 41 63 74 69 76 65   ┆tive" or      "passive".  Active┆
0x0620…0640 20 73 6f 63 6b 65 74 73 20 69 6e 69 74 69 61 74 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 20 74 6f   ┆ sockets initiate connections to┆
0x0640…0660 20 70 61 73 73 69 76 65 0a 20 20 20 20 20 73 6f 63 6b 65 74 73 2e 20 20 42 79 20 64 65 66 61 75   ┆ passive      sockets.  By defau┆
0x0660…0680 6c 74 20 54 43 50 20 73 6f 63 6b 65 74 73 20 61 72 65 20 63 72 65 61 74 65 64 20 61 63 74 69 76   ┆lt TCP sockets are created activ┆
0x0680…06a0 65 3b 20 74 6f 0a 20 20 20 20 20 63 72 65 61 74 65 20 61 20 70 61 73 73 69 76 65 20 73 6f 63 6b   ┆e; to      create a passive sock┆
0x06a0…06c0 65 74 20 74 68 65 20 5f 08 6c 5f 08 69 5f 08 73 5f 08 74 5f 08 65 5f 08 6e 20 73 79 73 74 65 6d   ┆et the _ l_ i_ s_ t_ e_ n system┆
0x06c0…06e0 20 63 61 6c 6c 20 6d 75 73 74 20 62 65 20 75 73 65 64 0a 20 20 20 20 20 61 66 74 65 72 20 62 69   ┆ call must be used      after bi┆
0x06e0…0700 6e 64 69 6e 67 20 74 68 65 20 73 6f 63 6b 65 74 20 77 69 74 68 20 74 68 65 20 5f 08 62 5f 08 69   ┆nding the socket with the _ b_ i┆
0x0700…0720 5f 08 6e 5f 08 64 20 73 79 73 74 65 6d 20 63 61 6c 6c 2e 20 20 4f 6e 6c 79 0a 20 20 20 20 20 70   ┆_ n_ d system call.  Only      p┆
0x0720…0740 61 73 73 69 76 65 20 73 6f 63 6b 65 74 73 20 6d 61 79 20 75 73 65 20 74 68 65 20 5f 08 61 5f 08   ┆assive sockets may use the _ a_ ┆
0x0740…0760 63 5f 08 63 5f 08 65 5f 08 70 5f 08 74 20 63 61 6c 6c 20 74 6f 20 61 63 63 65 70 74 20 69 6e 63   ┆c_ c_ e_ p_ t call to accept inc┆
0x0760…0780 6f 6d 69 6e 67 0a 20 20 20 20 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 2e 20 20 4f 6e 6c 79 20 61 63   ┆oming      connections.  Only ac┆
0x0780…07a0 74 69 76 65 20 73 6f 63 6b 65 74 73 20 6d 61 79 20 75 73 65 20 74 68 65 20 5f 08 63 5f 08 6f 5f   ┆tive sockets may use the _ c_ o_┆
0x07a0…07c0 08 6e 5f 08 6e 5f 08 65 5f 08 63 5f 08 74 20 63 61 6c 6c 0a 20 20 20 20 20 74 6f 20 69 6e 69 74   ┆ n_ n_ e_ c_ t call      to init┆
0x07c0…07e0 69 61 74 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 2e 0a 0a 20 20 20 20 20 50 61 73 73 69 76 65 20   ┆iate connections.       Passive ┆
0x07e0…0800 73 6f 63 6b 65 74 73 20 6d 61 79 20 22 75 6e 64 65 72 73 70 65 63 69 66 79 22 20 74 68 65 69 72   ┆sockets may "underspecify" their┆
0x0800…0820 20 6c 6f 63 61 74 69 6f 6e 20 74 6f 20 6d 61 74 63 68 0a 20 20 20 20 20 69 6e 63 6f 6d 69 6e 67   ┆ location to match      incoming┆
0x0820…0840 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 72 65 71 75 65 73 74 73 20 66 72 6f 6d 20 6d 75 6c 74 69 70   ┆ connection requests from multip┆
0x0840…0860 6c 65 20 6e 65 74 77 6f 72 6b 73 2e 20 20 54 68 69 73 0a 20 20 20 20 20 74 65 63 68 6e 69 71 75   ┆le networks.  This      techniqu┆
0x0860…0880 65 2c 20 74 65 72 6d 65 64 20 22 77 69 6c 64 63 61 72 64 20 61 64 64 72 65 73 73 69 6e 67 22 2c   ┆e, termed "wildcard addressing",┆
0x0880…08a0 20 61 6c 6c 6f 77 73 20 61 20 73 69 6e 67 6c 65 0a 20 20 20 20 20 73 65 72 76 65 72 20 74 6f 20   ┆ allows a single      server to ┆
0x08a0…08c0 70 72 6f 76 69 64 65 20 73 65 72 76 69 63 65 20 74 6f 20 63 6c 69 65 6e 74 73 20 6f 6e 20 6d 75   ┆provide service to clients on mu┆
0x08c0…08e0 6c 74 69 70 6c 65 20 6e 65 74 77 6f 72 6b 73 2e 0a 20 20 20 20 20 54 6f 20 63 72 65 61 74 65 20   ┆ltiple networks.      To create ┆
0x08e0…0900 61 20 73 6f 63 6b 65 74 20 77 68 69 63 68 20 6c 69 73 74 65 6e 73 20 6f 6e 20 61 6c 6c 20 6e 65   ┆a socket which listens on all ne┆
0x0900…0920 74 77 6f 72 6b 73 2c 20 74 68 65 20 49 6e 74 65 72 2d 0a 20 20 20 20 20 6e 65 74 20 61 64 64 72   ┆tworks, the Inter-      net addr┆
0x0920…0940 65 73 73 20 49 4e 41 44 44 52 5f 41 4e 59 20 6d 75 73 74 20 62 65 20 62 6f 75 6e 64 2e 20 20 54   ┆ess INADDR_ANY must be bound.  T┆
0x0940…0960 68 65 20 54 43 50 20 70 6f 72 74 20 6d 61 79 0a 20 20 20 20 20 73 74 69 6c 6c 20 62 65 20 73 70   ┆he TCP port may      still be sp┆
0x0960…0980 65 63 69 66 69 65 64 20 61 74 20 74 68 69 73 20 74 69 6d 65 3b 20 69 66 20 74 68 65 20 70 6f 72   ┆ecified at this time; if the por┆
0x0980…09a0 74 20 69 73 20 6e 6f 74 20 73 70 65 63 69 2d 0a 20 20 20 20 20 66 69 65 64 20 74 68 65 20 73 79   ┆t is not speci-      fied the sy┆
0x09a0…09c0 73 74 65 6d 20 77 69 6c 6c 20 61 73 73 69 67 6e 20 6f 6e 65 2e 20 20 4f 6e 63 65 20 61 20 63 6f   ┆stem will assign one.  Once a co┆
0x09c0…09e0 6e 6e 65 63 74 69 6f 6e 20 68 61 73 20 62 65 65 6e 0a 20 20 20 20 20 65 73 74 61 62 6c 69 73 68   ┆nnection has been      establish┆
0x09e0…0a00 65 64 20 74 68 65 20 73 6f 63 6b 65 74 27 73 20 61 64 64 72 65 73 73 20 69 73 20 66 69 78 65 64   ┆ed the socket's address is fixed┆
0x0a00…0a20 20 62 79 20 74 68 65 20 70 65 65 72 0a 20 20 20 20 20 65 6e 74 69 74 79 27 73 20 6c 6f 63 61 74   ┆ by the peer      entity's locat┆
0x0a20…0a40 69 6f 6e 2e 20 20 20 54 68 65 20 61 64 64 72 65 73 73 20 61 73 73 69 67 6e 65 64 20 74 68 65 20   ┆ion.   The address assigned the ┆
0x0a40…0a60 73 6f 63 6b 65 74 20 69 73 20 74 68 65 0a 20 20 20 20 20 61 64 64 72 65 73 73 20 61 73 73 6f 63   ┆socket is the      address assoc┆
0x0a60…0a80 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20 6e 65 74 77 6f 72 6b 20 69 6e 74 65 72 66 61 63 65   ┆iated with the network interface┆
0x0a80…0aa0 20 74 68 72 6f 75 67 68 20 77 68 69 63 68 0a 20 20 20 20 20 70 61 63 6b 65 74 73 20 61 72 65 20   ┆ through which      packets are ┆
0x0aa0…0ac0 62 65 69 6e 67 20 74 72 61 6e 73 6d 69 74 74 65 64 20 61 6e 64 20 72 65 63 65 69 76 65 64 2e 20   ┆being transmitted and received. ┆
0x0ac0…0ae0 20 4e 6f 72 6d 61 6c 6c 79 20 74 68 69 73 0a 20 20 20 20 20 61 64 64 72 65 73 73 20 63 6f 72 72   ┆ Normally this      address corr┆
0x0ae0…0b00 65 73 70 6f 6e 64 73 20 74 6f 20 74 68 65 20 70 65 65 72 20 65 6e 74 69 74 79 27 73 20 6e 65 74   ┆esponds to the peer entity's net┆
0x0b00…0b20 77 6f 72 6b 2e 0a 0a 20 20 20 20 20 54 43 50 20 73 75 70 70 6f 72 74 73 20 6f 6e 65 20 73 6f 63   ┆work.       TCP supports one soc┆
0x0b20…0b40 6b 65 74 20 6f 70 74 69 6f 6e 20 77 68 69 63 68 20 69 73 20 73 65 74 20 77 69 74 68 20 5f 08 73   ┆ket option which is set with _ s┆
0x0b40…0b60 5f 08 65 5f 08 74 5f 08 73 5f 08 6f 5f 08 63 5f 08 6b 5f 08 6f 5f 08 70 5f 08 74 0a 20 20 20 20   ┆_ e_ t_ s_ o_ c_ k_ o_ p_ t     ┆
0x0b60…0b80 20 61 6e 64 20 74 65 73 74 65 64 20 77 69 74 68 20 5f 08 67 5f 08 65 5f 08 74 5f 08 73 5f 08 6f   ┆ and tested with _ g_ e_ t_ s_ o┆
0x0b80…0ba0 5f 08 63 5f 08 6b 5f 08 6f 5f 08 70 5f 08 74 2e 20 20 55 6e 64 65 72 20 6d 6f 73 74 20 63 69 72   ┆_ c_ k_ o_ p_ t.  Under most cir┆
0x0ba0…0bc0 63 75 6d 73 74 61 6e 63 65 73 2c 20 54 43 50 0a 20 20 20 20 20 73 65 6e 64 73 20 64 61 74 61 20   ┆cumstances, TCP      sends data ┆
0x0bc0…0be0 77 68 65 6e 20 69 74 20 69 73 20 70 72 65 73 65 6e 74 65 64 3b 20 77 68 65 6e 20 6f 75 74 73 74   ┆when it is presented; when outst┆
0x0be0…0c00 61 6e 64 69 6e 67 20 64 61 74 61 20 68 61 73 0a 20 20 20 20 20 6e 6f 74 20 79 65 74 20 62 65 65   ┆anding data has      not yet bee┆
0x0c00…0c20 6e 20 61 63 6b 6e 6f 77 6c 65 64 67 65 64 2c 20 69 74 20 67 61 74 68 65 72 73 20 73 6d 61 6c 6c   ┆n acknowledged, it gathers small┆
0x0c20…0c40 20 61 6d 6f 75 6e 74 73 20 6f 66 20 6f 75 74 2d 0a 20 20 20 20 20 70 75 74 20 74 6f 20 62 65 20   ┆ amounts of out-      put to be ┆
0x0c40…0c60 73 65 6e 74 20 69 6e 20 61 20 73 69 6e 67 6c 65 20 70 61 63 6b 65 74 20 6f 6e 63 65 20 61 6e 20   ┆sent in a single packet once an ┆
0x0c60…0c80 61 63 6b 6e 6f 77 6c 65 64 67 65 6d 65 6e 74 20 69 73 0a 20 20 20 20 20 72 65 63 65 69 76 65 64   ┆acknowledgement is      received┆
0x0c80…0ca0 2e 20 20 46 6f 72 20 61 20 73 6d 61 6c 6c 20 6e 75 6d 62 65 72 20 6f 66 20 63 6c 69 65 6e 74 73   ┆.  For a small number of clients┆
0x0ca0…0cc0 2c 20 73 75 63 68 20 61 73 20 77 69 6e 64 6f 77 0a 20 20 20 20 20 73 79 73 74 65 6d 73 20 74 68   ┆, such as window      systems th┆
0x0cc0…0ce0 61 74 20 73 65 6e 64 20 61 20 73 74 72 65 61 6d 20 6f 66 20 6d 6f 75 73 65 20 65 76 65 6e 74 73   ┆at send a stream of mouse events┆
0x0ce0…0d00 20 77 68 69 63 68 20 72 65 63 65 69 76 65 20 6e 6f 0a 20 20 20 20 20 72 65 70 6c 69 65 73 2c 20   ┆ which receive no      replies, ┆
0x0d00…0d20 74 68 69 73 20 70 61 63 6b 65 74 69 7a 61 74 69 6f 6e 20 6d 61 79 20 63 61 75 73 65 20 73 69 67   ┆this packetization may cause sig┆
0x0d20…0d40 6e 69 66 69 63 61 6e 74 20 64 65 6c 61 79 73 2e 0a 20 20 20 20 20 54 68 65 72 65 66 6f 72 65 2c   ┆nificant delays.      Therefore,┆
0x0d40…0d60 20 54 43 50 20 70 72 6f 76 69 64 65 73 20 61 20 62 6f 6f 6c 65 61 6e 20 6f 70 74 69 6f 6e 2c 20   ┆ TCP provides a boolean option, ┆
0x0d60…0d80 54 43 50 5f 4e 4f 44 45 4c 41 59 20 28 66 72 6f 6d 0a 20 20 20 20 20 3c 5f 08 6e 5f 08 65 5f 08   ┆TCP_NODELAY (from      <_ n_ e_ ┆
0x0d80…0da0 74 5f 08 69 5f 08 6e 5f 08 65 5f 08 74 2f 5f 08 74 5f 08 63 5f 08 70 2e 5f 08 68 3e 29 2c 20 74   ┆t_ i_ n_ e_ t/_ t_ c_ p._ h>), t┆
0x0da0…0dc0 6f 20 64 65 66 65 61 74 20 74 68 69 73 20 61 6c 67 6f 72 69 74 68 6d 2e 20 20 54 68 65 20 6f 70   ┆o defeat this algorithm.  The op┆
0x0dc0…0de0 74 69 6f 6e 0a 20 20 20 20 20 6c 65 76 65 6c 20 66 6f 72 20 74 68 65 20 5f 08 73 5f 08 65 5f 08   ┆tion      level for the _ s_ e_ ┆
0x0de0…0e00 74 5f 08 73 5f 08 6f 5f 08 63 5f 08 6b 5f 08 6f 5f 08 70 5f 08 74 20 63 61 6c 6c 20 69 73 20 74   ┆t_ s_ o_ c_ k_ o_ p_ t call is t┆
0x0e00…0e20 68 65 20 70 72 6f 74 6f 63 6f 6c 20 6e 75 6d 62 65 72 20 66 6f 72 0a 20 20 20 20 20 54 43 50 2c   ┆he protocol number for      TCP,┆
0x0e20…0e40 20 61 76 61 69 6c 61 62 6c 65 20 66 72 6f 6d 20 5f 08 67 5f 08 65 5f 08 74 5f 08 70 5f 08 72 5f   ┆ available from _ g_ e_ t_ p_ r_┆
0x0e40…0e60 08 6f 5f 08 74 5f 08 6f 5f 08 62 5f 08 79 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 2e 0a 0a 20 20 20   ┆ o_ t_ o_ b_ y_ n_ a_ m_ e.     ┆
0x0e60…0e80 20 20 4f 70 74 69 6f 6e 73 20 61 74 20 74 68 65 20 49 50 20 74 72 61 6e 73 70 6f 72 74 20 6c 65   ┆  Options at the IP transport le┆
0x0e80…0ea0 76 65 6c 20 6d 61 79 20 62 65 20 75 73 65 64 20 77 69 74 68 20 54 43 50 3b 20 73 65 65 0a 20 20   ┆vel may be used with TCP; see   ┆
0x0ea0…0ec0 20 20 20 5f 08 69 5f 08 70 28 34 70 29 2e 20 20 49 6e 63 6f 6d 69 6e 67 20 63 6f 6e 6e 65 63 74   ┆   _ i_ p(4p).  Incoming connect┆
0x0ec0…0ee0 69 6f 6e 20 72 65 71 75 65 73 74 73 20 74 68 61 74 20 61 72 65 20 73 6f 75 72 63 65 2d 72 6f 75   ┆ion requests that are source-rou┆
0x0ee0…0f00 74 65 64 0a 20 20 20 20 20 61 72 65 20 6e 6f 74 65 64 2c 20 61 6e 64 20 74 68 65 20 72 65 76 65   ┆ted      are noted, and the reve┆
0x0f00…0f20 72 73 65 20 73 6f 75 72 63 65 20 72 6f 75 74 65 20 69 73 20 75 73 65 64 20 69 6e 0a 0a 0a 0a 0a   ┆rse source route is used in     ┆
0x0f20…0f40 0a 0a 20 20 20 20 20 72 65 73 70 6f 6e 64 69 6e 67 2e 0a 0a 44 08 44 08 44 08 44 49 08 49 08 49   ┆       responding.  D D D DI I I┆
0x0f40…0f60 08 49 41 08 41 08 41 08 41 47 08 47 08 47 08 47 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 53 08   ┆ IA A A AG G G GN N N NO O O OS ┆
0x0f60…0f80 53 08 53 08 53 54 08 54 08 54 08 54 49 08 49 08 49 08 49 43 08 43 08 43 08 43 53 08 53 08 53 08   ┆S S ST T T TI I I IC C C CS S S ┆
0x0f80…0fa0 53 0a 20 20 20 20 20 41 20 73 6f 63 6b 65 74 20 6f 70 65 72 61 74 69 6f 6e 20 6d 61 79 20 66 61   ┆S      A socket operation may fa┆
0x0fa0…0fc0 69 6c 20 77 69 74 68 20 6f 6e 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 65 72 72   ┆il with one of the following err┆
0x0fc0…0fe0 6f 72 73 0a 20 20 20 20 20 72 65 74 75 72 6e 65 64 3a 0a 0a 20 20 20 20 20 5b 45 49 53 43 4f 4e   ┆ors      returned:       [EISCON┆
0x0fe0…1000 4e 5d 20 20 20 20 20 20 20 77 68 65 6e 20 74 72 79 69 6e 67 20 74 6f 20 65 73 74 61 62 6c 69 73   ┆N]       when trying to establis┆
0x1000…1020 68 20 61 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 6f 6e 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20   ┆h a connection on a             ┆
0x1020…1040 20 20 20 20 20 20 20 20 20 73 6f 63 6b 65 74 20 77 68 69 63 68 20 61 6c 72 65 61 64 79 20 68 61   ┆         socket which already ha┆
0x1040…1060 73 20 6f 6e 65 3b 0a 0a 20 20 20 20 20 5b 45 4e 4f 42 55 46 53 5d 20 20 20 20 20 20 20 77 68 65   ┆s one;       [ENOBUFS]       whe┆
0x1060…1080 6e 20 74 68 65 20 73 79 73 74 65 6d 20 72 75 6e 73 20 6f 75 74 20 6f 66 20 6d 65 6d 6f 72 79 20   ┆n the system runs out of memory ┆
0x1080…10a0 66 6f 72 20 61 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 65   ┆for an                      inte┆
0x10a0…10c0 72 6e 61 6c 20 64 61 74 61 20 73 74 72 75 63 74 75 72 65 3b 0a 0a 20 20 20 20 20 5b 45 54 49 4d   ┆rnal data structure;       [ETIM┆
0x10c0…10e0 45 44 4f 55 54 5d 20 20 20 20 20 77 68 65 6e 20 61 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 77 61 73   ┆EDOUT]     when a connection was┆
0x10e0…1100 20 64 72 6f 70 70 65 64 20 64 75 65 20 74 6f 20 65 78 63 65 73 2d 0a 20 20 20 20 20 20 20 20 20   ┆ dropped due to exces-          ┆
0x1100…1120 20 20 20 20 20 20 20 20 20 20 20 20 73 69 76 65 20 72 65 74 72 61 6e 73 6d 69 73 73 69 6f 6e 73   ┆            sive retransmissions┆
0x1120…1140 3b 0a 0a 20 20 20 20 20 5b 45 43 4f 4e 4e 52 45 53 45 54 5d 20 20 20 20 77 68 65 6e 20 74 68 65   ┆;       [ECONNRESET]    when the┆
0x1140…1160 20 72 65 6d 6f 74 65 20 70 65 65 72 20 66 6f 72 63 65 73 20 74 68 65 20 63 6f 6e 6e 65 63 74 69   ┆ remote peer forces the connecti┆
0x1160…1180 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 6f 20 62 65 20 63 6c   ┆on                      to be cl┆
0x1180…11a0 6f 73 65 64 3b 0a 0a 20 20 20 20 20 5b 45 43 4f 4e 4e 52 45 46 55 53 45 44 5d 20 20 77 68 65 6e   ┆osed;       [ECONNREFUSED]  when┆
0x11a0…11c0 20 74 68 65 20 72 65 6d 6f 74 65 20 70 65 65 72 20 61 63 74 69 76 65 6c 79 20 72 65 66 75 73 65   ┆ the remote peer actively refuse┆
0x11c0…11e0 73 20 63 6f 6e 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 63 74   ┆s con-                      nect┆
0x11e0…1200 69 6f 6e 20 65 73 74 61 62 6c 69 73 68 6d 65 6e 74 20 28 75 73 75 61 6c 6c 79 20 62 65 63 61 75   ┆ion establishment (usually becau┆
0x1200…1220 73 65 20 6e 6f 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65   ┆se no                      proce┆
0x1220…1240 73 73 20 69 73 20 6c 69 73 74 65 6e 69 6e 67 20 74 6f 20 74 68 65 20 70 6f 72 74 29 3b 0a 0a 20   ┆ss is listening to the port);   ┆
0x1240…1260 20 20 20 20 5b 45 41 44 44 52 49 4e 55 53 45 5d 20 20 20 20 77 68 65 6e 20 61 6e 20 61 74 74 65   ┆    [EADDRINUSE]    when an atte┆
0x1260…1280 6d 70 74 20 69 73 20 6d 61 64 65 20 74 6f 20 63 72 65 61 74 65 20 61 20 73 6f 63 6b 65 74 0a 20   ┆mpt is made to create a socket  ┆
0x1280…12a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 74 68 20 61 20 70 6f 72 74 20   ┆                    with a port ┆
0x12a0…12c0 77 68 69 63 68 20 68 61 73 20 61 6c 72 65 61 64 79 20 62 65 65 6e 20 61 6c 6c 6f 2d 0a 20 20 20   ┆which has already been allo-    ┆
0x12c0…12e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 74 65 64 3b 0a 0a 20 20 20 20 20 5b   ┆                  cated;       [┆
0x12e0…1300 45 41 44 44 52 4e 4f 54 41 56 41 49 4c 5d 20 77 68 65 6e 20 61 6e 20 61 74 74 65 6d 70 74 20 69   ┆EADDRNOTAVAIL] when an attempt i┆
0x1300…1320 73 20 6d 61 64 65 20 74 6f 20 63 72 65 61 74 65 20 61 20 73 6f 63 6b 65 74 0a 20 20 20 20 20 20   ┆s made to create a socket       ┆
0x1320…1340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 69 74 68 20 61 20 6e 65 74 77 6f 72 6b 20 61 64   ┆               with a network ad┆
0x1340…1360 64 72 65 73 73 20 66 6f 72 20 77 68 69 63 68 20 6e 6f 20 6e 65 74 77 6f 72 6b 0a 20 20 20 20 20   ┆dress for which no network      ┆
0x1360…1380 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 65 72 66 61 63 65 20 65 78 69 73 74 73   ┆                interface exists┆
0x1380…13a0 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41   ┆.  S S S SE E E EE E E E A A A A┆
0x13a0…13c0 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65   ┆L L L LS S S SO O O O      Syste┆
0x13c0…13e0 6d 20 43 61 6c 6c 73 20 28 32 29 3a 20 20 67 65 74 73 6f 63 6b 6f 70 74 2c 20 73 6f 63 6b 65 74   ┆m Calls (2):  getsockopt, socket┆
0x13e0…1400 2c 20 61 63 63 65 70 74 2c 20 62 69 6e 64 2c 20 63 6f 6e 2d 0a 20 20 20 20 20 6e 65 63 74 2c 20   ┆, accept, bind, con-      nect, ┆
0x1400…1420 6c 69 73 74 65 6e 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33   ┆listen      Library Functions (3┆
0x1420…1440 29 3a 20 20 67 65 74 70 72 6f 74 6f 65 6e 74 0a 20 20 20 20 20 44 65 76 69 63 65 73 20 61 6e 64   ┆):  getprotoent      Devices and┆
0x1440…1460 20 46 61 63 69 6c 69 74 69 65 73 20 28 34 29 3a 20 20 69 6e 74 72 6f 28 34 6e 29 2c 20 69 6e 65   ┆ Facilities (4):  intro(4n), ine┆
0x1460…1480 74 2c 20 69 70 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20   ┆t, ip  December 1989            ┆
0x1480…14a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52   ┆               TX Programmer's R┆
0x14a0…14c0 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆eference                        ┆