public Server(MultipleThread thread) { Port = 9877; this.thread = thread; dic = new Dictionary<int, Socket>(); }
static void Main(string[] args) { IProtocol protocol = new Protocol(); MultipleThread thread = new MultipleThread(protocol); Server server = new Server(thread); server.Start(); }