TouchSocket icon indicating copy to clipboard operation
TouchSocket copied to clipboard

TouchSocket是.Net(包括 C# 、VB.Net、F#)的一个整合性的、超轻量级的网络通信框架。包含了 tcp、udp、ssl、http、websocket、rpc、jsonrpc、webapi、xmlrpc等一系列的通信模块。一键式解决 TCP 黏分包问题,udp大数...

Results 30 TouchSocket issues
Sort by recently updated
recently updated
newest added

HitSize函数直接根据输入 ***X*** 求解 ![](https://latex.codecogs.com/svg.image?a&space;=&space;\log_2&space;X) ![](https://latex.codecogs.com/svg.image?b&space;=&space;2^{\lceil&space;a&space;\rceil})

net framework4.7.2 tcpclient连接以后,online变量还是flase

The Transfer can't work with huge size files.

I am Cary,This is my project.I hope it helps you do your job better.

https://github.com/RRQM/TouchSocket/blob/f4e48dfdf87952ab91e214ca82f333c4f60488c8/src/TouchSocket/Core/Logger/FileLogger.cs#L82-L86

![image](https://github.com/RRQM/TouchSocket/assets/46993491/be3e7710-eaaf-419b-bef4-336fd6791956) ![image](https://github.com/RRQM/TouchSocket/assets/46993491/7e1a5aa5-7957-4e20-ad77-7629e26a6c44)

HttpService ParseHttpServer = new HttpService(); ParseHttpServer.Setup(new TouchSocketConfig()//加载配置 .SetListenIPHosts(ServerConfig.PraseServerPort) .ConfigureContainer(a => { a.AddConsoleLogger(); }) .ConfigurePlugins(a => { a.Add(); a.Add(); //default插件应该最后添加,其作用是 //1、为找不到的路由返回404 //2、处理header为Option的探视跨域请求。 a.UseDefaultHttpServicePlugin(); })); ParseHttpServer.Start();

由于网络问题,github只做同步源,所以提交issue请移步至gitee https://gitee.com/RRQM_Home/TouchSocket

参照说明文档:导入unity packetage 包 使用untiy example 中的服务端项目本地运行 tcp 及 udp 的连接都正常 但使用tcpDmtp 测试demo时,提示`Error | 这可能不是Dmtp协议数据` ![image](https://github.com/RRQM/TouchSocket/assets/70026540/cefec93e-5f0a-4546-94a5-28fed74780b2) ![image](https://github.com/RRQM/TouchSocket/assets/70026540/d364ac44-24c0-4d15-9594-773ba1291761)

protected Func CreateExpressionInvoker(MethodInfo method) { var instance = Expression.Parameter(typeof(object), "instance"); var parameters = Expression.Parameter(typeof(object[]), "parameters"); var instanceCast = method.IsStatic ? null : Expression.Convert(instance, method.DeclaringType); var parametersCast = method.GetParameters() .Select((p, i)...