Skip to content

客户端收到多条回复信息。 #110

@Gipsyzgm

Description

@Gipsyzgm

图片
我在使用时出现了服务器发送了一次消息,但 客户端在OnData收到多条信息的情况。我把 state.receivePipe.TryDequeue();方法放到 OnData?.Invoke(message); 之前可以避免这个问题。
这么做会出现其他问题吗?或者有其他更好的解决方法?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions