websocket client unity support

rowanGrowanG
edited November 2016 in Questions And Answers

So I have been using unity and the hololens emulator to build some toy test experiences. Now that I want to do some more serious work I need way to accces a websocket server.

Unity had a good library that called websocket sharp but it is deprecated in the asset store. Does anybody know if there is an alternative? There are some paid websocket libraries in the store but I rather not shell out cash and it ends up not working with the hololens...

if there are other lean ways to recieve and send data to a server instead of websockets I am willing to use that also.

any help is appreciated!

Tagged:

Answers

  • Have you looked at the Sharing examples. It shows how to use some of the networking features with Unity and UWP.

    Dwight Goins
    CAO & Founder| Independent Architect | Trainer and Consultant | Sr. Enterprise Architect
    MVP | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer
    http://dgoins.wordpress.com

  • BreanBrean
    edited December 2017

    I know it has been over a year since the original post but maybe you are still interested. I just finished a Meteor/DDP implementation using Websockets. It uses the UWP-Websockets for Mixed Reality Headsets as well as System.Net for quick testing in Unity. Take a look at https://github.com/brean/UWP-DDP-Meteor-Client for the code and
    https://github.com/brean/MR_WebGl_cube_move for an example implementation.

Sign In or Register to comment.