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