From 82d309d00765944654db023416a104d96de04328 Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 18 Jun 2007 14:41:38 +0000 Subject: Fixed the flashing when crossing a border. --- OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs | 2 ++ OpenSim/OpenSim.RegionServer/UDPServer.cs | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'OpenSim/OpenSim.RegionServer') diff --git a/OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs b/OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs index d0cbe2b..635bbdf 100644 --- a/OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs +++ b/OpenSim/OpenSim.RegionServer/NetworkServersInfo.cs @@ -32,6 +32,7 @@ using OpenSim.Framework.Interfaces; namespace OpenSim { + public class NetworkServersInfo { public string AssetURL = "http://127.0.0.1:8003/"; @@ -115,4 +116,5 @@ namespace OpenSim } } } + } diff --git a/OpenSim/OpenSim.RegionServer/UDPServer.cs b/OpenSim/OpenSim.RegionServer/UDPServer.cs index 315cb2c..54ec480 100644 --- a/OpenSim/OpenSim.RegionServer/UDPServer.cs +++ b/OpenSim/OpenSim.RegionServer/UDPServer.cs @@ -151,20 +151,20 @@ namespace OpenSim public void ServerListener() { - m_console.WriteLine("UDPServer.cs:ServerListener() - Opening UDP socket on " + listenPort); + m_console.WriteLine(LogPriority.LOW, "UDPServer.cs:ServerListener() - Opening UDP socket on " + listenPort); ServerIncoming = new IPEndPoint(IPAddress.Any, listenPort); Server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); Server.Bind(ServerIncoming); - m_console.WriteLine("UDPServer.cs:ServerListener() - UDP socket bound, getting ready to listen"); + m_console.WriteLine(LogPriority.LOW, "UDPServer.cs:ServerListener() - UDP socket bound, getting ready to listen"); ipeSender = new IPEndPoint(IPAddress.Any, 0); epSender = (EndPoint)ipeSender; ReceivedData = new AsyncCallback(this.OnReceivedData); Server.BeginReceiveFrom(RecvBuffer, 0, RecvBuffer.Length, SocketFlags.None, ref epSender, ReceivedData, null); - m_console.WriteLine("UDPServer.cs:ServerListener() - Listening..."); + m_console.WriteLine(LogPriority.LOW, "UDPServer.cs:ServerListener() - Listening..."); } -- cgit v1.1