NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

发送消息过快导致部分消息偶尔无法接受到

Open CrazyWeslie opened this issue 11 months ago • 3 comments

修改前: image 修改后: image

CrazyWeslie avatar Mar 15 '24 08:03 CrazyWeslie

https://github.com/chronoxor/NetCoreServer/blob/51d182341f3234367a5ef440ffb72d393a8a5f81/source/NetCoreServer/TcpSession.cs#L345

Sea4U avatar Mar 27 '24 02:03 Sea4U

我细看了下 没什么大问题,可能是你的客户端没有处理stream的拆分。收到的消息包可能是多条或者不足一条。

Sea4U avatar Apr 01 '24 02:04 Sea4U

我也发现同样的问题 image image 但是delay(1)的时候就没问题 image image

WangYou77 avatar Jun 25 '24 03:06 WangYou77