aboutsummaryrefslogtreecommitdiff
path: root/client/libacron/README.md
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2022-07-23 13:29:24 -0700
committerTrumeet <yuuta@yuuta.moe>2022-07-23 13:29:24 -0700
commitdf85b736cea32bd04e4a80042b9b3c67642d57ba (patch)
tree002d2aa14a31ac7e2cd210e78157a449ac96fb35 /client/libacron/README.md
parent34c53bc3d396934df94431f7b76972180b1b0a8c (diff)
downloadacron-df85b736cea32bd04e4a80042b9b3c67642d57ba.tar
acron-df85b736cea32bd04e4a80042b9b3c67642d57ba.tar.gz
acron-df85b736cea32bd04e4a80042b9b3c67642d57ba.tar.bz2
acron-df85b736cea32bd04e4a80042b9b3c67642d57ba.zip
refactor(acronc): rename acronc to helloworld
Signed-off-by: Trumeet <yuuta@yuuta.moe>
Diffstat (limited to 'client/libacron/README.md')
-rw-r--r--client/libacron/README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/client/libacron/README.md b/client/libacron/README.md
index d52a4c3..4514e21 100644
--- a/client/libacron/README.md
+++ b/client/libacron/README.md
@@ -177,8 +177,8 @@ The client also needs to supply its own `on_send` function. libac will call that
needs to write anything to the socket. When calling that function, the socket pointer will be passed
as-is.
-No worries, `acronc/net.c` provides a ready-to-use example of cross-platform (Unix and Windows) blocking
-socket client. See `acronc/main.c` for more details.
+No worries, `apps/helloworld/net.c` provides a ready-to-use example of cross-platform (Unix and Windows) blocking
+socket client. See `apps/helloworld/main.c` for more details.
```c
void *connection = NULL;
@@ -231,7 +231,7 @@ The program can make requests using `ac_request()`:
```c
ac_config_t conf = {
- .name = "acronc"
+ .name = "helloworld"
};
ac_request_cmd_t req = {
.type = AC_REQUEST_CMD,
@@ -252,7 +252,7 @@ The client must manually close its socket after calling `ac_disconnect()`.
> on the roadmap.
-Read more: `acronc/main.c` example client.
+Read more: `apps/helloworld/main.c` example client.
#### Connection Threading
@@ -261,7 +261,7 @@ it is the caller's responsibility to guard the whole connection with a mutex. li
provide that because this may limit the flexibility. After locking, it is safe to call the
connection-related functions from any threads.
-Example `acronc/main.c` has a naive cross-platform example of how to guard the connection using
+Example `apps/helloworld/main.c` has a naive cross-platform example of how to guard the connection using
a mutex.
## Roadmap