Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WebSocket client examples #9

Open
jamesjhu opened this issue Mar 10, 2014 · 0 comments
Open

Add WebSocket client examples #9

jamesjhu opened this issue Mar 10, 2014 · 0 comments

Comments

@jamesjhu
Copy link

I'm currently working on a project that needs to communicate with a WebSocket server. I've looked at the example in the Readme.md file and in main.c but they both seem to be examples for creating a WebSocket listening server and not for setting up a WebSocket client.

After browsing through the headers, it seems that I need to provide a CFSocketNativeHandle object to the creation function WebSocketClientCreate. I'm having trouble understanding what is needed to provide the CFSocketNativeHandle object. I was hoping someone could shed some light on this problem, and also help future users of CoreWebSocket who also want to implement a client. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant