aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/Main.cs
diff options
context:
space:
mode:
authorjhurliman2007-03-02 08:36:57 +0000
committerjhurliman2007-03-02 08:36:57 +0000
commit91c11314acbec75bfdfa878b69b02543629b2b17 (patch)
treec0f56f7ea5c6bd98a15a65fcc1fb508523b982ec /src/Main.cs
parentMissed these 2 (diff)
downloadopensim-SC-91c11314acbec75bfdfa878b69b02543629b2b17.zip
opensim-SC-91c11314acbec75bfdfa878b69b02543629b2b17.tar.gz
opensim-SC-91c11314acbec75bfdfa878b69b02543629b2b17.tar.bz2
opensim-SC-91c11314acbec75bfdfa878b69b02543629b2b17.tar.xz
* Bind to IPAddress.Any instead of a hardcoded address
* Allow login if a connection can't be made to the grid auth server (instead of crashing) * Brought the MSVC project file and solution up to speed * Added a default VersionInfo.cs to allow compiling with MSVC * Removed unnecessary .suo file
Diffstat (limited to 'src/Main.cs')
-rw-r--r--src/Main.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.cs b/src/Main.cs
index da926db..6075035 100644
--- a/src/Main.cs
+++ b/src/Main.cs
@@ -118,7 +118,7 @@ namespace OpenSim
118 Console.WriteLine("Main.cs:MainServerListener() - New thread started"); 118 Console.WriteLine("Main.cs:MainServerListener() - New thread started");
119 Console.WriteLine("Main.cs:MainServerListener() - Opening UDP socket on " + cfg.IPListenAddr + ":" + cfg.IPListenPort); 119 Console.WriteLine("Main.cs:MainServerListener() - Opening UDP socket on " + cfg.IPListenAddr + ":" + cfg.IPListenPort);
120 120
121 ServerIncoming = new IPEndPoint(IPAddress.Parse(cfg.IPListenAddr),cfg.IPListenPort); 121 ServerIncoming = new IPEndPoint(IPAddress.Any, cfg.IPListenPort);
122 Server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); 122 Server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
123 Server.Bind(ServerIncoming); 123 Server.Bind(ServerIncoming);
124 124