increased IPv4 TTL of LLUDP Sockets

Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
inv-download
Freaky Tech 2015-03-02 21:04:20 +01:00 committed by BlueWall
parent 7e8bad05ec
commit c6731c73fb
1 changed files with 11 additions and 0 deletions

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,