title: Using WebSockets in Objective-C
body: <p>I have tried, unsuccessfully, to use websockets in objective-c with the following two libraries:</p>
  
  <p><a href="http://code.google.com/p/unitt/wiki/UnittWebSocketClient" rel="nofollow">http://code.google.com/p/unitt/wiki/UnittWebSocketClient</a></p>
  
  <p><a href="https://github.com/zootreeves/iOS-WebSockets" rel="nofollow">https://github.com/zootreeves/iOS-WebSockets</a></p>
  
  <p>In both cases I was unable to establish even a basic connection to a server (runnning on localhost).  I was wondering if someone could please provide or point me in the direction of some code that will just simply connect to a server via a websocket and/or perform a handshake.  </p>
  
  <p>Ideally, it would be nice if the code could use one of the above libraries, but at this point I'm open to anything that'd work.</p>
  
  <p>I've posted about some issues with UnitT beore but I haven't received any feedback so I'm not sure exactly what step I'm messing up on.  Appreciate any help, thanks!</p>