pub fn from_request(
announce_request: &AnnounceRequest,
peer_ip: &IpAddr,
) -> PeerExpand description
Extracts the peer::Peer info from the
announce request.
ยงArguments
peer_ip- The real IP address of the peer, not the one in the announce request.