How many tuples are there in a connection?

前端 未结 1 966
自闭症患者
自闭症患者 2020-12-16 18:51

Some people said that there are 4 tuples in a connection

client IP address, client port number, server IP address, server port number

Some s

相关标签:
1条回答
  • 2020-12-16 19:23

    You've misunderstood the terminology. A TCP connection is identified by a 5-tuple. That means one tuple, with 5 elements. The five elements are:

    1. Protocol. This is often omitted as it is understood that we are talking about TCP, which leaves 4.
    2. Source IP address.
    3. Source port.
    4. Target IP address.
    5. Target port.
    0 讨论(0)
提交回复
热议问题