TCP simultaneous open and self connect prevention

后端 未结 9 820
长情又很酷
长情又很酷 2020-12-08 11:54

TCP standard has \"simultaneous open\" feature.

The implication of the feature, client trying to connect to local port, when the port is from ephemeral range, can o

9条回答
  •  离开以前
    2020-12-08 12:15

    For server you need to bind() socket to port. Once addr:port pair had socket bound, it will no longer be used for implicit binding in connect().

    No problem, no trouble.

提交回复
热议问题