随笔分类 - SuperSocket
摘要:十年河东,十年河西,莫欺少年穷 学无止境,精益求精 详情查看: https://www.cnblogs.com/e4ky/p/12487542.html 1、安装包 2、server端 using BeetleX; using BeetleX.EventArgs; using System; nam
阅读全文
摘要:十年河东,十年河西,莫欺少你穷 学无止境,精益求精 1、新建 netcore 控制台应用程序并引入包 2、服务端 using SimpleTCP; using System; using System.Net; using System.Text; namespace TcpServe { clas
阅读全文
摘要:十年河东,十年河西,莫欺少年穷 学无止境,精益求精 参考:https://www.cnblogs.com/xhubobo/p/14721463.html 和上一节一致,通信数据结构如下: /// + + + + /// |request| l | | /// | type | e | request
阅读全文
摘要:十年河东,十年河西,莫欺少年穷 学无止境,精益求精 1、定义包类型及PipelineFilter 双工通信中,客户端和服务端双方一般都会协商好数据格式,譬如 /// + + + + /// |request| l | | /// | type | e | request body | /// | (
阅读全文
摘要:十年河东,十年河西,莫欺少年穷 学无止境,精益求精 1、新建控制台程序并引入包 dotnet add package SuperSocket.Server 2、书写代码 using System; using System.Text; using System.Threading.Tasks; us
阅读全文

浙公网安备 33010602011771号