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

How to use this library? #11

Closed
alikim-com opened this issue Sep 3, 2013 · 3 comments
Closed

How to use this library? #11

alikim-com opened this issue Sep 3, 2013 · 3 comments

Comments

@alikim-com
Copy link

I'm completely lost here...

Is there a SUPER SIMPLE working example of a websocket client that would go like this:

include libwebsockets

int main () {

websocket ws = new websocket();

ws.connect();

ws.send();

...

}

Thank you!

@tumoxep
Copy link

tumoxep commented Sep 4, 2013

Try this http://martinsikora.com/libwebsockets-simple-websocket-server
Also, read a comment by BlueEyes on that page.

@alikim-com
Copy link
Author

That explains a websocket server and I need a websocket client, build in c or c++, not in js

@warmcat
Copy link
Collaborator

warmcat commented Oct 13, 2015

The test client included in the lws tree is the simplest example. Just chop out what's not needed in your case.

@warmcat warmcat closed this as completed Oct 13, 2015
@fog1111 fog1111 mentioned this issue Nov 24, 2017
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

2 participants