Quote
// check if we should use this client to retrieve our public IP
if (theApp.GetPublicIP() == 0 && theApp.IsConnected() && m_fPeerCache)
SendPublicIPRequest();
if (theApp.GetPublicIP() == 0 && theApp.IsConnected() && m_fPeerCache)
SendPublicIPRequest();
Now I'm wondering why we depend on the PeerCache flag to ask for our public IP address... is there any special reason for that? Or is it because eMule supported the public IP request/answer extensions with the introduction of PeerCache and this is a simple yet not-so-elegant way to get to know whether the remote client supports our request packet?










Sign In
Register




