yzaki / verus

Verus is an adaptive congestion control protocol that is custom designed for cellular networks.
MIT License
20 stars 17 forks source link

Make verus server bind to only one port #4

Closed francisyyan closed 8 years ago

francisyyan commented 8 years ago

After Verus client sends handshake to the port that Verus server listens to, if the Verus client replies from a different port, the response will not be able to go through port restricted cone NAT successfully. It can be fixed by simply making Verus server bind to a single port, reusing the same socket. Notice that Verus client also binds to two ports, which is redundant too.