8.Earning hole-punched address of client

You can gain the hole-punched address of Proud.CNetClient by following the steps below.

First, complete 5. Making a P2P group.

Gain information on client through Proud.CNetClient.GetPeerInfo or Proud.CNetServer.GetClientInfo.

The gained information of Proud.CNetPeerInfo.m_UdpAddrFromServer is the hole-punched address.

The success rate of ProudNet hole-punching is really high but it doesn't mean it works at 100%. Please refer to Proud.CNetPeerInfo.m_UdpAddrFromServer guide.