Skip to content

Instantly share code, notes, and snippets.

@hydrix9
hydrix9 / Server.cs
Created January 19, 2017 23:46
c# websocket server for unity3d game test
#if (!UNITY_WEBGL || DEBUG) //run from compiler and unity_editor but not webgl release
using System;
using WebSocketSharp;
using WebSocketSharp.Server;
using System.Collections.Generic; //lists
using System.Linq; //dictionary keys toarray
using System.Collections; //enumerator