1
0
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:
Payden Sutherland 2012-11-17 12:12:15 -05:00
parent 5b6c5e24fe
commit 06ac80bd3b

2
test.c
View File

@ -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);