Beispiel #1
0
        protected override void Initialize(Settings modSettings)
        {
            base.Initialize(modSettings);

            pool = new BlockingPool <TcpClient> (
                modSettings.GetInt("poolsize", 4),
                GetTcpClient, ResetTcpClient, CheckTcpClient);
        }