public ShardServer() { _server = new TcpServer(); _server.AddEventListener(this); }
public void Initialize() { _server = new TcpServer(); _server.Initialize(ConfigurationSettings <CSHostSettings> .Current.IP, ConfigurationSettings <CSHostSettings> .Current.Port); _server.AddEventListener(this); }