diff options
Diffstat (limited to 'client/libacron/README.md')
-rw-r--r-- | client/libacron/README.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/libacron/README.md b/client/libacron/README.md index 240d671..e5ed81b 100644 --- a/client/libacron/README.md +++ b/client/libacron/README.md @@ -168,7 +168,11 @@ Every thread can have multiple connections simultaneously. void *connection = NULL; int r; ac_connection_parameters_t args = { - .url = "ws://localhost:25575/ws?id=1&token=123" + .host = "127.0.0.1", + .port = 25575, + .version = 0, + .id = "1", + .token = "123" }; if ((r = ac_connect(args, &connection))) { return r; |