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

client returns error code 1006 #7

Closed 975269528 closed 1 year ago

975269528 commented 1 year ago

QQ图片20230420184720

As shown in the figure, after starting the server, an error message like this will be output when the client connects, and the client returns error code 1006. May I know where did I make a mistake? Thank you!

LiveOrDevTrying commented 1 year ago

Hello and thank you for using WebsocketsSimple.

This is a great find - this is happening because the "ConnectionSuccessString" is null. I will issue a fix and post here as soon as the packages are built.

LiveOrDevTrying commented 1 year ago

This has been fixed and new packages are available. Please let me know if you have any other issues, questions, or suggestions for improvements. Thank you for using WebsocketsSimple!