Esempio n. 1
0
        public Server(int port)
        {
            users = new UserPool();
            groups = new GroupCollection();
            listener = new TcpListener(IPAddress.Any, port);
            listenerThread = new Thread(ListenerThread);

            poolThread = new Thread(new ThreadStart(users.SocketPoolingThread));
            poolThread.Start();
        }
Esempio n. 2
0
        public Server(int port)
        {
            users          = new UserPool();
            groups         = new GroupCollection();
            listener       = new TcpListener(IPAddress.Any, port);
            listenerThread = new Thread(ListenerThread);

            poolThread = new Thread(new ThreadStart(users.SocketPoolingThread));
            poolThread.Start();
        }
Esempio n. 3
0
 public static UserPool MergePools(UserPool p1, UserPool p2)
 {
     return null;
 }
Esempio n. 4
0
 public static UserPool MergePools(UserPool p1, UserPool p2)
 {
     return(null);
 }