mirror of
https://github.com/payden/libwsclient
synced 2024-10-27 17:54:01 +00:00
Change connection str back to echo.websocket.org
This commit is contained in:
parent
5b6c5e24fe
commit
06ac80bd3b
2
test.c
2
test.c
@ -32,7 +32,7 @@ int onopen(wsclient *c) {
|
|||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
//Initialize new wsclient * using specified URI
|
//Initialize new wsclient * using specified URI
|
||||||
wsclient *client = libwsclient_new("ws://localhost:8080");
|
wsclient *client = libwsclient_new("ws://echo.websocket.org");
|
||||||
if(!client) {
|
if(!client) {
|
||||||
fprintf(stderr, "Unable to initialize new WS client.\n");
|
fprintf(stderr, "Unable to initialize new WS client.\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user