a7099a86e8c2bf61c0fb2a69f72b980ad95688d2
[src/app-framework-binder.git] / doc / afb-application-writing.md
1 HOWTO WRITE an APPLICATION above AGL FRAMEWORK
2 ==============================================
3     version: 1
4     Date:    29 mai 2016
5     Author:  José Bollo
6
7 TABLE-OF-CONTENT-HERE
8
9
10 Writing a C application
11 -----------------------
12
13 C applications can use the binder afb-daemon through a websocket connection.
14
15 The library **libafbwsc** is made for C clients that want
16 to connect to the afb-daemon binder.
17
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).
22
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.
26
27