The AV protocol What is the AV protocol ? Le protocol AV et EvntWindom()
Programming guideline of WinDom

Philosophy of the AV protocol

So the AV protocol is a set of AES messages exchange between the clients and the server. There are the messages sent from the serveur to the clients, they have the VA_ suffix, and there are the message sent from a client to the server, they have the AV_ suffix. Almost messages have an answer. For example, the AV_STARTPROG message, that is a request from a client to the server to exec an application, have an answer VA_PROGSTART meanning if the application was correctly launched or not. So there are mainly two king of messages:

two king of messages.

The requests are:

Before to sent a request to a server, a client must be declared to the server that is performed by the AvInit() function. When the client finish, the AV session opened with AvInit() must be closed with the AvExit() function.

Send a message to the server:

The ApplWrite() and AvWaitfor() functions allow the client to send efficiently a message to the AV-server. The ApplWrite() just send a message and the AvWaitfor() waits for an answer form the server.

Handle messages from the AV server:

A client can declare to the AV server the actions that it can handle. In this case, the client can receive requests from the server that it have to handle.