摘要:
1、基于C#的以太网通信对象 using System.Net.Sockets; 2、socket服务启动监听 1 # region Socket TCP 服务端 2 Socket socket = new Socket(AddressFamily.InterNetwork, SocketType. 阅读全文
摘要:
1、串口对象接收回调事件 1 serialPort.DataReceived += SerialPort_DataReceived; // 数据接收 2 3 void SerialPort_DataReceived(object sender, SerialDataReceivedEventArgs 阅读全文