C language FIDL tutorial

About this tutorial

This tutorial describes how to make client calls and write servers in C using the FIDL InterProcess Communication (IPC) system in Fuchsia.

Refer to the main FIDL page for details on the design and implementation of FIDL, as well as the instructions for getting and building Fuchsia.

Getting started

We'll use the echo.fidl sample that we discussed in the FIDL Tutorial introduction section, by opening //garnet/examples/fidl/services/echo.fidl.

library fidl.examples.echo;

[Discoverable]
protocol Echo {
    EchoString(string? value) -> (string? response);
};

Build

Use the following steps to build:

(@@@ to be completed)

Echo server

(@@@ to be completed)

Echo client

(@@@ to be completed)