no.. still a fail
parent
27afe136d4
commit
7be6e16555
|
@ -1078,31 +1078,25 @@ namespace OpenSim.Framework
|
||||||
|
|
||||||
// Reset for next check
|
// Reset for next check
|
||||||
ia = null;
|
ia = null;
|
||||||
#if (_MONO)
|
try
|
||||||
// mono is a TOTAL CRAP
|
|
||||||
int retry = 3;
|
|
||||||
while(ia == null && retry-- >= 0)
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
try
|
foreach (IPAddress Adr in Dns.GetHostAddresses(hostname))
|
||||||
{
|
{
|
||||||
foreach (IPAddress Adr in Dns.GetHostAddresses(hostname))
|
if (ia == null)
|
||||||
{
|
ia = Adr;
|
||||||
if (ia == null)
|
|
||||||
ia = Adr;
|
|
||||||
|
|
||||||
if (Adr.AddressFamily == AddressFamily.InterNetwork)
|
if (Adr.AddressFamily == AddressFamily.InterNetwork)
|
||||||
{
|
{
|
||||||
ia = Adr;
|
ia = Adr;
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch // (SocketException e)
|
|
||||||
{
|
|
||||||
ia = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
catch // (SocketException e)
|
||||||
|
{
|
||||||
|
ia = null;
|
||||||
|
}
|
||||||
|
|
||||||
return getEndPoint(ia,port);
|
return getEndPoint(ia,port);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2171,7 +2171,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||||
InformClientOfNeighbourAsync(sp, cagents[count], neighbour, ipe, true);
|
InformClientOfNeighbourAsync(sp, cagents[count], neighbour, ipe, true);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_log.Debug("[ENTITY TRANSFER MODULE]: DNS for neighbour lost");
|
m_log.DebugFormat("[ENTITY TRANSFER MODULE]: DNS for neighbour {0} lost", neighbour.ExternalHostName);
|
||||||
}
|
}
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue