1 HOWTO WRITE an APPLICATION above AGL FRAMEWORK
2 ==============================================
10 Writing a C application
11 -----------------------
13 C applications can use the binder afb-daemon through a websocket connection.
15 The library **libafbwsc** is made for C clients that want
16 to connect to the afb-daemon binder.
18 The program **afb-client-demo** is the C program that use
19 the provided library **libafbwsc**.
20 Its source code is here
21 [src/afb-client-demo.c](https://github.com/iotbzh/afb-daemon/blob/master/src/afb-client-demo.c).
23 The current implementation use libsystemd and file descriptors.
24 This may be changed in the future to also support secure sockets
25 and being less dependant of libsystemd.