Opening TCP at the same time

I implement "concurrent TCP Open." This means that both peers will try to connect to each other at the same time. I was confused whether reading is audible or not.

or say that for each client you need to call a sequence of sockets.

I implement this for punching holes in TCp.

thank,

+3
source share
1 answer

From the Wikipedia article on TCP hole punching :

Since both sides are connected to each other (for example, 2 x CONNECT (), no LISTEN (), ACCEPT (), etc.) To generate OUTBOUND traffic, however, there is a problem with:

TCP Sequence Numbers

Confirmation Numbers

: == + 1. .

listen() . , .

+3

Source: https://habr.com/ru/post/1781229/


All Articles