mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
increased IPv4 TTL of LLUDP Sockets
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user