4.2 TCP Overview
TCP Features
§ Establishes a
Session - TCP is a connection-oriented protocol that negotiates and establishes
a permanent connection (or session) between source and destination devices
prior to forwarding any traffic.
يؤسس جلسة - TCP هو
بروتوكول موجه للاتصال يتفاوض ويؤسس اتصال دائم (أو جلسة) بين أجهزة المصدر
والوجهة قبل إعادة توجيه أي حركة مرور.
§ Ensures
Reliable Delivery - For many reasons, it is possible for a segment to become
corrupted or lost completely, as it is transmitted over the network. TCP
ensures that each segment that is sent by the source arrives at the
destination.
يضمن التسليم الموثوق - لأسباب عديدة
، من الممكن أن تتلف شريحة ما أو تضيع تمامًا، حيث يتم نقلها عبر الشبكة. يضمن
بروتوكول TCP
وصول كل قطعة يرسلها المصدر إلى الوجهة.
§ Provides
Same-Order Delivery - Because networks may provide multiple routes that can
have different transmission rates, data can arrive in the wrong order.
يوفر تسليم نفس الطلب - نظرًا لأن
الشبكات قد توفر مسارات متعددة يمكن أن يكون لها معدلات إرسال مختلفة ، يمكن أن
تصل البيانات بترتيب غير صحيح.
§ Supports Flow
Control - Network hosts have limited resources (i.e., memory and processing
power). When TCP is aware that these resources are overtaxed, it can request
that the sending application reduce the rate of data flow.
يدعم التحكم بالتدفق - يمتلك مضيفو
الشبكة موارد محدودة (أي الذاكرة وقوة المعالجة). عندما يكون بروتوكول TCP على
دراية بأن الموارد تقع تحت عبء كبير، فيمكن له مطالبة تطبيق الإرسال بخفض معدل
تدفق البيانات.
TCP Header
TCP is a
stateful protocol which means it keeps track of the state of the communication
session.
بروتوكول TCP هو بروتوكول ذو حالة مما يعني أنه يتتبع
حالة جلسة الاتصال.
يسجل برنامج التعاون الفني المعلومات التي أرسلها والمعلومات التي تم
الاعتراف بها.
TCP Header Fields
TCP
Header Field |
Description |
Source Port |
A 16-bit field used to identify the
source application by port number. حقل 16
بت المستخدمة لتحديد التطبيق المصدر حسب رقم المنفذ. |
Destination Port |
A 16-bit field used to identify the
destination application by port number. حقل 16
بت يستخدم لتحديد التطبيق الوجهة حسب رقم المنفذ. |
Sequence Number |
A 32-bit field used for data reassembly
purposes. حقل 32
بت يستخدم لأغراض إعادة تجميع البيانات. |
Acknowledgment Number |
A 32-bit field used to indicate that
data has been received and the next byte expected from the source. رقم
الإقرار 32 بت يستخدم للاشارة إلى استلام البيانات ووحدة البايت التالية
المتوقعة من المصدر. |
Header Length |
A 4-bit field known as ʺdata offsetʺ
that indicates the length of the TCP segment header. حقل 4 بت
يعرف باسم ʺdata offsetʺ والذي يشير إلى طول رأس مقطع TCP. |
Reserved |
A 6-bit field that is reserved for
future use. حقل 6 بت
محجوز للاستخدام في المستقبل. |
Control bits |
A 6-bit field used that includes bit
codes, or flags, which indicate the purpose and function of the TCP segment. حقل من 6
وحدات بت المستخدم يتضمن أكواد بتات أو إشارات تشير إلى غرض ووظيفة مقطع TCP. |
Window size |
A 16-bit field used to indicate the
number of bytes that can be accepted at one time. حقل 16
وحدة بت يستخدم للإشارة إلى عدد bytes التي
يمكن قبولها في وقت واحد. |
Checksum |
A 16-bit field used for error checking
of the segment header and data. حقل 16
وحدة بت يستخدم للتحقق من الخطأ في رأس المقطع والبيانات. |
Urgent |
A 16-bit field used to indicate if the
contained data is urgent. حقل 16
وحدة بت يستخدم للإشارة إلى ما إذا كانت البيانات الواردة ملحة. |
Applications
that use TCP التطبيقات
التي تستخدم البروتوكول
TCP
handles all tasks associated with dividing the data stream into segments,
providing reliability, controlling data flow, and reordering segments.
يُعالج بروتوكول TCP كافة المهام المرتبطة بتقسيم تدفق البيانات إلى
مقاطع، وتوفير الموثوقية، والتحكم في تدفق البيانات وإعادة ترتيب المقاطع،