Replace ini file reader with full .NET implementation so it can run on Mono.

This commit is contained in:
Filip Maj 2015-09-10 19:00:44 -04:00
parent d90cf6d953
commit e90a25d0ab
6 changed files with 551 additions and 78 deletions

View file

@ -24,7 +24,7 @@ namespace FFXIVClassic_Lobby_Server
#region Socket Handling
public bool startServer()
{
IPEndPoint serverEndPoint = new System.Net.IPEndPoint(IPAddress.Parse("127.0.0.1"), FFXIV_LOBBY_PORT);
IPEndPoint serverEndPoint = new System.Net.IPEndPoint(IPAddress.Parse(ConfigConstants.OPTIONS_BINDIP), FFXIV_LOBBY_PORT);
try{
mServerSocket = new System.Net.Sockets.Socket(serverEndPoint.Address.AddressFamily, SocketType.Stream, ProtocolType.Tcp);