新文章 网摘 文章 随笔 日记

文章分类 -  网络编程

摘要:服务端: public UnaryResult<CurrentUser> SignIn(string employeeNoEncry, string pwdEncry, string sessionIdEncry) { //密码解密 X509Certificate2 x509 = new X509C 阅读全文
posted @ 2021-05-22 15:22 岭南春 阅读(89) 评论(0) 推荐(0)
摘要:namespace BinaryProtocol.Models.Constants { public enum Protocol001MessageType : byte { /// <summary> /// 震动事件 /// </summary> ShockEvent = 3, /// <sum 阅读全文
posted @ 2020-10-27 17:11 岭南春 阅读(84) 评论(0) 推荐(0)
摘要:using System; using System.Windows.Forms; using BinaryProtocol.Core.Handles; using BinaryProtocol.Core.Models; using BinaryProtocol.Core.Tcp; using Bi 阅读全文
posted @ 2020-10-27 17:09 岭南春 阅读(175) 评论(0) 推荐(0)
摘要:using System; using System.Windows.Forms; using BinaryProtocol.Core.Handles; using BinaryProtocol.Core.Models; using BinaryProtocol.Core.Tcp; using Bi 阅读全文
posted @ 2020-10-27 17:07 岭南春 阅读(139) 评论(0) 推荐(0)
摘要:using System.Threading.Tasks; using BinaryProtocol.Core.Tcp; namespace BinaryProtocol.Core.Handles { public interface IMessageHandle { /// <summary> / 阅读全文
posted @ 2020-10-27 17:06 岭南春 阅读(72) 评论(0) 推荐(0)
摘要:namespace BinaryProtocol.Core.Constants { public enum Command : int { /// <summary> /// 连接 /// </summary> Connect = 0, /// <summary> /// 连接回复 /// </su 阅读全文
posted @ 2020-10-27 17:02 岭南春 阅读(57) 评论(0) 推荐(0)
摘要:namespace BinaryProtocol.Core.Models { public interface IMessage<T> { /// <summary> /// 消息头 /// </summary> MessageHead Head { get; } /// <summary> /// 阅读全文
posted @ 2020-10-27 17:01 岭南春 阅读(116) 评论(0) 推荐(0)
摘要:using System; using System.IO; using System.Net.Sockets; namespace BinaryProtocol.Core.Tcp { public class ConnectContext { public MessageServer TcpSer 阅读全文
posted @ 2020-10-27 16:57 岭南春 阅读(184) 评论(0) 推荐(0)
摘要:using System; using System.Linq; using System.Reflection; using BinaryProtocol.Core.Attributes; namespace BinaryProtocol.Core.Coder { public class Bit 阅读全文
posted @ 2020-10-21 15:55 岭南春 阅读(195) 评论(0) 推荐(0)