摘要:
服务端和客户是通过这样一个结构体进行通信的using System;using System.IO;using System.Runtime.InteropServices;namespace AUS.Common{ /// <summary> /// 通信结构体 /// </summary> [Serializable] [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct Packet { public cmd cmd; public int len;... 阅读全文