increased IPv4 TTL of LLUDP Sockets

Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
This commit is contained in:
Freaky Tech
2015-03-02 21:04:20 +01:00
committed by BlueWall
parent 7e8bad05ec
commit c6731c73fb

View File

@@ -216,6 +216,17 @@ namespace OpenMetaverse
SocketType.Dgram,
ProtocolType.Udp);
try
{
if (m_udpSocket.Ttl < 128)
{
m_udpSocket.Ttl = 128;
}
}
catch (SocketException)
{
m_log.Debug("[UDPBASE]: Failed to increase default TTL");
}
try
{
// This udp socket flag is not supported under mono,