4.1.1.6 Build the Server
Use the ATMI platform buildserver utility to build
the mirrorsrv server load module from the provided
source file mirrorsrv.c. The source file contains two
service entries, MIRROR and DOUBLEMIRROR,
which will be advertised by the mirrorsrv server.
When executed, the MIRROR service receives a text
string from the client, reverses the letters, and displays a mirror
image of the input text string.
When executed, the DOUBLEMIRROR service receives a
text string from the client, reverses the letters, and concatenates
the reversed string to the forward image of the string.
The following command is an example of a command entry to invoke
the buildserver utility:
buildserver -o mirrorsrv -f mirrorsrv.c -s MIRROR,DOUBLEMIRRORRefer to the appropriate ATMI platform documentation for option descriptions.
Parent topic: Building ATMI Platform Executables