You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, when an endpoint accepts a connection, it will wait for the peer to send the real peer address (i.e. binding address). Later the endpoint will save this real peer address instead of the socket's remote address:
However, for example, when two endpoints R1 and R2 want to connect to S, R1 and R2 may bind to the same address like 0.0.0.0:xxxx. In this situation, S cannot distinguishes R1 and R2's connection.
The text was updated successfully, but these errors were encountered:
Issue
For now, when an endpoint accepts a connection, it will wait for the peer to send the real peer address (i.e. binding address). Later the endpoint will save this real peer address instead of the socket's remote address:
https://github.com/madsys-dev/madsim/blob/5a7a858547cc350408ec9f78261062295c3fcca8/madsim/src/std/net/tcp.rs#L81-L99
However, for example, when two endpoints R1 and R2 want to connect to S, R1 and R2 may bind to the same address like
0.0.0.0:xxxx
. In this situation, S cannot distinguishes R1 and R2's connection.The text was updated successfully, but these errors were encountered: