Exemple #1
0
        public FormMonitor(IPAddress address, FormServer server, bool webcam)
        {
            InitializeComponent();
            this.address = address;
            this.server  = server;
            this.target  = (byte)(webcam ? 'c' : 'd');

            this.Text = "来自 " + address + " 的远程视频";
            server.getFrame[address] = this;
            ns = server.getStream[address];
            ns.WriteByte(target);
            FormMonitor_Resize(null, null);
        }
Exemple #2
0
 public ClientThread(FormServer server, TcpClient client)
 {
     this.server = server;
     this.client = client;
 }