How to incorporate WebSockets into a Cocoa application
Posted
by robw
on Stack Overflow
See other posts from Stack Overflow
or by robw
Published on 2010-04-18T21:18:40Z
Indexed on
2010/04/18
21:23 UTC
Read the original article
Hit count: 493
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.
© Stack Overflow or respective owner