Avaya Configuring IP Utilities Bedienungsanleitung Seite 32

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 96
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 31
Configuring IP Utilities
2-2 114071 Rev. A
How TCP Works
TCP is connection-oriented. Therefore, before transferring data, you must first
establish a logical transport layer connection with a peer user. To establish this
connection, TCP uses what is sometimes called a “three-way handshake,” in
which the initiating TCP sends a Protocol Data Unit (PDU) with a synchronize
(SYN) bit set to 1 in its header. The responding TCP then sends back a PDU with
both the SYN bit and the Acknowledge (ACK ) bit set, and possibly, some user
data. Time and, if necessary, retransmission are used to recover from PDUs lost in
this process, allowing each side to indicate its starting sequence number. Because
of the possibility of lost or delayed PDUs, this three-way exchange ensures that
connections are established correctly.
Data transfer is straightforward, and follows the procedures for flow control and
acknowledgment. TCP performs all acknowledgment and assigns all credits in
terms of octets. A credit of eight (8), then, allows sending only 8 octets of data,
not 8 PDUs.
To release a connection, one TCP sends a PDU with the FIN flag set and a
sequence number one greater than that assigned to the last octet of the transmitted
data. Upon receipt of this PDU, the responding TCP sends back a PDU carrying
an ACK for the FIN’s sequence number and a FIN of its own (this ACK or FIN
may appear in the same PDU or in different PDUs). The TCP that sent the first
FIN must respond with an ACK for this new FIN. This rather complex procedure
allows a graceful close, ensuring that no data is lost during release of the
connection.
TCP Features
Since IP does not always guarantee reliable transfer of data, TCP implements
several reliability features to ensure that data arrives at its destination uncorrupted
and in the order sent. Table 2-1 describes these features.
Seitenansicht 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 95 96

Kommentare zu diesen Handbüchern

Keine Kommentare