We won't convey any payload in this lesson, so we just have to give the name
of message to declare them:
-\don'tinclude 02-simple.c
+\dontinclude 02-simple.c
\skip gras_msgtype_declare
\until gras_msgtype_declare
\ref gras_socket_client with the hostname and the port of the process you
want to contact as arguments. Our client should simply do:
-\don'tinclude 02-simple.c
+\dontinclude 02-simple.c
\skip socket_client
\until socket_client
message, the message type (described by its name), and a pointer to the actual content of the
message. Since we don't have any payload, this becomes:
-\don'tinclude 02-simple.c
+\dontinclude 02-simple.c
\skip msg_send
\until msg_send
Since our server is willing to wait up to 60 seconds for a message, the
following will do it:
-\don'tinclude 02-simple.c
+\dontinclude 02-simple.c
\skip msg_wait
\until msg_wait