LiveOrDevTrying / WebsocketsSimple

WebsocketsSimple provides an easy-to-use and customizable Websocket Server and Websocket Client. The server is created using a TcpListener and upgrades a successful connection to a WebSocket. The server and client can be used for non-SSL or SSL connections and authentication (including client and server SSL certification validation) is provided for identifying the clients connected to your server. Both client and server are created in .NET Standard and use async await functionality.
Apache License 2.0
21 stars 2 forks source link

send bug #10

Open 975269528 opened 4 months ago

975269528 commented 4 months ago

QQ图片20240229011706 QQ图片20240229011711

消息不完整

LiveOrDevTrying commented 3 weeks ago

Hello,

Thank you for using WebsocketsSimple. I apologize for the tardiness of this message - I did not see this issue pop up in my email.

I am a bit confused on the issue being raised. It does not look like an error, but that there is a discrepancy between what is emit in the OnMessageEvent and what is sent.

What is sent: "111 Arcane Master Arcane Master Multi-Arcane 2225 Master Arcane Master Multi-333 Arcane Master Arcane Master 444" What is received: "111 Arcane Master Arcane Master Multi-Arcane 222"

Is this correct? If yes, this appears to be a truncated version of the original data.

Are you sending this message as bytes or as a string?

I am wondering that you have the end of line byte being sent after 222. Are you receiving a subsequent message event with the rest of the message?

Please let me know. Thank you! Rob