private Internals.SocketAddress SnapshotAndSerialize(ref EndPoint remoteEP)
{
IPEndPoint ipSnapshot = remoteEP as IPEndPoint;
if (ipSnapshot != null)
{
ipSnapshot = ipSnapshot.Snapshot();
remoteEP = RemapIPEndPoint(ipSnapshot);
}
return CallSerializeCheckDnsEndPoint(remoteEP);
}