示例#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();
        }
示例#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();
        }
示例#3
0
 public static UserPool MergePools(UserPool p1, UserPool p2)
 {
     return null;
 }
示例#4
0
 public static UserPool MergePools(UserPool p1, UserPool p2)
 {
     return(null);
 }