title: Fleck WebSockets
body: <p>I want to use Fleck for my WebSocket project,
  Server side looks pretty straightforward, but how to I differentiate opened connections. is there some sort of ID? The only way I can think of is to create GUID in OnOpen event and pass it back to client. is there a smarter solution?</p>
  
  <p>Basic server set up:</p>
  
  <pre><code>socket.OnOpen = () =&gt;
  {
      Console.WriteLine("Open!"); 
      allSockets.Add(socket);
  };
  
  socket.OnClose = () =&gt;
  {
      Console.WriteLine("Close!");
      allSockets.Remove(socket);
  };
  
  socket.OnMessage = message =&gt;
  {
      Console.WriteLine(message);
      allSockets.ToList().ForEach(s =&gt; s.Send("Echo: " + message));
  };
  </code></pre>
  
  <p>E.G. how would I make a chat room so all connection receive message except for the one sending.</p>
  
  <p>Fleck server here: <a href="https://github.com/statianzo/Fleck" rel="nofollow">https://github.com/statianzo/Fleck</a></p>