See sagent -help for more information about AsagenT communications. For convenient use of AsfrontenD an application should provide an interpreter function and an application object which get involved when a reply message has completely arrived.
All operations are accessible by int functions.
There should be no need to include any specific headers in the application code. Without such a backchannel the server will execute commands but not reply anything. This function calls the interpreter function with every single incoming reply message as soon as it is completly received. It does not block if no data are available at the file descriptor. This function is modest in grabbing processor time because it will only read a limited number of bytes before returning.