NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

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

Open CrazyPleasantGoat opened this issue 3 months ago • 2 comments

修改前: image 修改后: image

CrazyPleasantGoat avatar Mar 15 '24 08:03 CrazyPleasantGoat

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