From 42c45a87167a7aeb55d5c813a1b1cb8e0cc8a6dc Mon Sep 17 00:00:00 2001 From: MW Date: Sat, 19 May 2007 13:28:31 +0000 Subject: Added a CheckSumServer (handles template checksum , so there is no longer the need to connect to LL userserver). Currently onlt active in sandbox mode (someone simple needs to add "CheckSumServer checkserver = new CheckSumServer(12036, m_console);" to the grid userserver). Then when starting up the SL client add " -user localhost" (or whatever the IP address that the sim or grid userserver is at) to the command line --- OpenSim.RegionServer/UDPServer.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'OpenSim.RegionServer/UDPServer.cs') diff --git a/OpenSim.RegionServer/UDPServer.cs b/OpenSim.RegionServer/UDPServer.cs index 5c41485..0bab05a 100644 --- a/OpenSim.RegionServer/UDPServer.cs +++ b/OpenSim.RegionServer/UDPServer.cs @@ -72,7 +72,11 @@ namespace OpenSim } } - public UDPServer(int port, Grid gridServers, AssetCache assetCache, InventoryCache inventoryCache, RegionInfo _regionData, bool sandbox, bool accounts, ConsoleBase console , AuthenticateSessionsBase authenticateClass) + public UDPServer() + { + } + + public UDPServer(int port, Grid gridServers, AssetCache assetCache, InventoryCache inventoryCache, RegionInfo _regionData, bool sandbox, bool accounts, ConsoleBase console, AuthenticateSessionsBase authenticateClass) { listenPort = port; this.m_gridServers = gridServers; @@ -84,7 +88,7 @@ namespace OpenSim this.m_console = console; this.m_authenticateSessionsClass = authenticateClass; this.CreatePacketServer(); - + //set up delegate for authenticate sessions this.AuthenticateHandler = new AuthenticateSessionHandler(this.m_authenticateSessionsClass.AuthenticateSession); } @@ -145,7 +149,7 @@ namespace OpenSim 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"); ipeSender = new IPEndPoint(IPAddress.Any, 0); @@ -195,7 +199,7 @@ namespace OpenSim public virtual AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode) { - return this.AuthenticateHandler(sessionID, agentID, circuitCode); + return this.AuthenticateHandler(sessionID, agentID, circuitCode); } } } \ No newline at end of file -- cgit v1.1