SuperSocket icon indicating copy to clipboard operation
SuperSocket copied to clipboard

一个奇怪的消息发送问题

Open x0gundam1133 opened this issue 7 months ago • 26 comments

之前版本beta.22 升级了版本beta.23 问题一样存在 有个很奇怪的问题 2个程序在同台电脑上传递消息,IP使用的127.0.0.1 A程序发送消息 Connection.SendAsync(new ReadOnlyMemory(buffers)).DoNotAwait(); B程序接收消息 public ValueTask Handle(IAppSession session, ProtobufInfo package, CancellationToken cancellationToken) 打印发送和接收的时间对比,正常情况都是几毫秒就能收到数据,偶尔会出现延迟0.6-1秒才能收到数据

x0gundam1133 avatar Jun 27 '24 10:06 x0gundam1133