title: ClientWebSocket in .NET 4.5
body: <p>There have been a lot of changes going from .NET 4.0 -> 4.5 and apparently a lot of changes from the beta libraries to the RC libraries.</p>
  
  <p>A lot of examples that were available and released in Build no longer work (and they leverage the Metro libraries i.e. Microsoft.x.y, instead of System.Net.WebSockets) (see <a href="https://github.com/paulbatum/WebSocket-Samples" rel="nofollow">https://github.com/paulbatum/WebSocket-Samples</a>).</p>
  
  <p>My question is -- has anyone worked with the low-level ClientWebSocket <a href="http://msdn.microsoft.com/en-us/library/hh881548(v=vs.110)" rel="nofollow">http://msdn.microsoft.com/en-us/library/hh881548(v=vs.110)</a> and if so, are there any examples available that were particularly useful?  There are a lot of questions I have related to how to work with them (i.e. exceptions/problems on execution, like when Send/Recv in .NET/bsdsockets return 0 when there is an issue on the other side).</p>
  
  <p>Thank you in advance!</p>