private void HostServer() { var parser = new FileIniDataParser(); IniData data = new IniData(); data["T4MP"]["server"] = "1"; data["T4MP"]["port"] = remote_port.ToString(); parser.WriteFile(browser.GameDir + "/T4MP.ini", data, Encoding.ASCII); lobby_server = new Lobby_Server(this, remote_port); lobby_server.Listen(); }
public ProcessPacket(Lobby lobbyptr, bool host, Lobby_Server hlobby = null) { lobby = lobbyptr; ishost = host; lobby_server = hlobby; }