...
In order for this function to succeed, the license server must have a function callback implemented. See lmxserverconf lmx_server_conf.c for details.
Example
The following example shows a function that could be registered in lmxserverconf lmx_server_conf.c:
Code Block | ||
---|---|---|
| ||
/* The function parameters should be overwritten by the response back to the client. */ void LMX_CALLBACK ServerFunc(char *szMessage) { char *szTest = "this is a simple response"; LmxLogprintf("server function called: %s", szMessage); /* Use the client message in some way ...*/ ... ... ... /* Prepare response */ strcpy(szMessage, szTest); } |
...