using System;
using System.Net;
using System.Threading;
using System.Net.Sockets;

using FilterAPI.Networking;

namespace FilterCentral.LocalNetworking
{
    internal class LocalListener : Listener
    {
        public LocalListener()
            : base(IPAddress.Parse(Program.Auth.ConfigValues["CentralBindIP"]), 500, Convert.ToInt32(Program.Auth.ConfigValues["CentralBindPort"])) { Accept(); }

        public override void NewSocket(Socket AcceptedSocket, IPEndPoint AcceptedEndPoint) { LocalClient LClient = new LocalClient(AcceptedSocket, AcceptedEndPoint); }
    }
}
