Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Hololens Server Communication- Event handler not available

Hello
After a rigorous laborious search, I still couldn't find any clue to which I think a straightforward problem that I'm facing.
I'm building a communication setup between a very simple python based server and hololens(client).I am able to set up a communication between them using MessageWebSockets https://docs.microsoft.com/en-us/windows/uwp/networking/websockets but now when I'm using MessageWebSocket.MessageReceived to handle a receiving message event from the server I'm getting this Error message while building the app using unity :
Assets\Scripts\Messaging.cs(71,35): error CS1061: 'MessageWebSocket' does not contain a definition for 'MessageRecieved' and no extension method 'MessageRecieved' accepting a first argument of type 'MessageWebSocket' could be found (are you missing a using directive or an assembly reference?)

I have tried to include the Network "Windows.Networking.Sockets" but still no success.
As the error message clearly says the "MessageRecieved" is not present I have no clue how to add it.

Any hint or help is appreciated.

Sign In or Register to comment.