views:

561

answers:

2

I am developing a Cocoa application which involves a chat element. One approach I've considered is using Websockets to handle client-server communication. This would be particularly desirable because chats will also be displayed on a website, and using Websockets could make the implementation very simple.

So: would it be possible to use a WebView element, and use Websockets within it? (I know Safari doesn't support Websockets yet, so I imagine this is not possible?)

Failing that, are there any Websocket client libraries for C, Objective C, or any other language I could successfully embed within my application?

Suggestions welcomed.

A: 

Here is an implementation of websockets for objective-c

http://github.com/esad/zimt

diclophis
A: 

zimt doesn't seem to work on iOS4 - no changes were made since april 2nd 2010..

tou