Example #1
0
        public TcpEvent(Formvoid father)
        {
            Father = father;

            ConnectServer();

            if (soc == null) return;

            Thread t = new Thread(recvData);
            t.IsBackground = true;
            t.Start();
        }
Example #2
0
 public udpevent(Formvoid ow)
 {
     owner = ow;
     Thread t = new Thread(recvData);
     t.Start();
 }