Exemplo n.º 1
0
        //透传接收
        static void tcpclient_SD_OnReceivedData(object sender, TcpClient.ReceivedDataEventArgs e)
        {
            string temp = Encoding.ASCII.GetString(e.RevData);

            string[] data = temp.Split(new char[] { '#' });
        }
Exemplo n.º 2
0
 //从中心端接收命令在此处理
 static void tcpclient_Center_OnReceivedData(object sender, TcpClient.ReceivedDataEventArgs e)
 {
     //throw new NotImplementedException();
 }