This content has been marked as final.
Show 2 replies
-
1. Re: Is it possible to make server names less restrictive?
zhfeng Mar 19, 2013 12:51 AM (in response to crisb)we use the following codes to advertise an admin service which used in the core engine,
char adm[XATMI_SERVICE_NAME_LENGTH + 1]; ACE_OS::snprintf(adm, XATMI_SERVICE_NAME_LENGTH + 1, ".%s%d", server, serverid);
the XATMI_SERVICE_NAME_LENGTH is 15 which is defined in the XATMI spec:
The first 15 characters determine the service name.
so the server name cannot use a number as the numbers are allocated by the core engine and the name can be determined by the portion of text between a period and a number. then we restricte its maxlength for 7 as we need to support 10^7 servers.
hope this is clear !
Thanks,
Amos
-
2. Re: Is it possible to make server names less restrictive?
crisb Mar 19, 2013 10:47 AM (in response to zhfeng)thanks for the explanation!