title: Unity WebSocket4Net
body: <p>How can I connect a Unity client to a php webserver via WebSocket4Net dll?  I
  tried an example like that</p>
  
  <pre><code>using WebSocket4Net;
  
  WebSocket websocket = new WebSocket("ws://localhost:2012/");
  websocket.Opened += new EventHandler(websocket_Opened);
  websocket.Error += new EventHandler&lt;ErrorEventArgs&gt;(websocket_Error);
  websocket.Closed += new EventHandler(websocket_Closed);
  websocket.MessageReceived += new EventHandler(websocket_MessageReceived);
  websocket.Open();
  
  private void websocket_Opened(object sender, EventArgs e)
  {
   websocket.Send("Hello World!");
  }
  </code></pre>
  
  <p>but got no result</p>