xaces2 spawns a separate process which runs a TCP
server. This server waits for connection on port
defined in env var SERV_TCP_PORT (default: 6544).
Depending on the type of request, the server
executes one of 5 JOBARC access calls on a local
(master) copy of the file. It then returns a
structure containing the resulting JOBARC record
and/or the completion flag.
Termination of the server is assured by including
the server kill message in aces_exit and aces_fatal.
If client dies prematurely without a call
to aces_fatal or aces_exit, the JOBARC server process
can be manualy killed with a standalone program.
No discovery service is yet implemented and users
running multiple ACESII jobs on a single machine are
advised to check for other occurences of JOBARC
server process in a process space and adjust the
port numbers accordingly.