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
std.socket: Add accept overload that returns peer address (#10941)
Add a new accept(out Address peerAddress) method to Socket that
accepts an incoming connection while also retrieving the connecting
peer's address. This avoids the need for a separate call to get the
peer address after accepting, which also addresses a race condition
which can occur when the peer disconnects between the accept and
getPeerAddress calls.
0 commit comments