contrun / ckb-p2p-experiments

1 stars 0 forks source link

Listening and dialing from the same TCP port #2

Closed contrun closed 1 year ago

contrun commented 1 year ago

Necessary for hole punching as the peer behind NAT may be both act as a server and a client.

contrun commented 1 year ago

Done in https://github.com/contrun/ckb-p2p-experiments/commit/b095d267f9fcc6a10469569fb3d0f47f356ad5f5