Closed nworbnhoj closed 2 years ago
Hi, thanks for your interest in the project! I'm just trying to understand your change though because there are currently no issues with compilation. The server.rs is meant to be paired with the example client but it looks like you may have attempted to turn it into something more general purpose which is not really the intention behind it. For example I really do want the server to exit out of its loop if it does not receive a text message from the client but you have changed that logic to simply continue the loop and ignore the message.
You are quite right. I dropped this example into my fork of xous to act as a simple local test for a client built with embedded-websocket. I was surprised when it did not compile - fixed the errors - and offered the PR here without checking the changes in its original context. my bad.
If you don't mind I'm going to close this PR as per the comments above.
minimal changes to compile