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

using FilterAPI.Networking;

namespace FilterLogin.LoginNetworking
{
    internal class LoginListener : Listener
    {
        public LoginListener()
            : base(IPAddress.Parse(Program.Auth.ConfigValues["LoginBindIP"]), 50000, Convert.ToInt32(Program.Auth.ConfigValues["LoginBindPort"])) { Accept(); }

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