Annotation response (overview)

The annotation server must respond to every annotation request, even if the expiretime has passed, in order for the engine to release resources allocated to the request.

In order to communicate with the engine, the annotation server uses APIs to open a connection to the engine socket, and register a function to be called by the engine when a request is ready.