コード例 #1
0
ファイル: tcpevent.cs プロジェクト: sugar10w/wechat_forward
        public TcpEvent(Formvoid father)
        {
            Father = father;

            ConnectServer();

            if (soc == null) return;

            Thread t = new Thread(recvData);
            t.IsBackground = true;
            t.Start();
        }
コード例 #2
0
ファイル: udpevent.cs プロジェクト: zhangxc11/wechat_forward
 public udpevent(Formvoid ow)
 {
     owner = ow;
     Thread t = new Thread(recvData);
     t.Start();
 }