diff options
Diffstat (limited to '')
-rw-r--r-- | src/Main.cs | 2 |
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 | ||