When an IOR is made by the LispWorks ORB, it contains a host name that will be used by the client to contact the ORB. By default, this name is generated by calling the C function gethostbyname() with the result of calling
, which is often the FQDN of the machine.
If this is not sufficient, you can control the name that is placed in IORs by using the
ORB initialization options.
When you supply
specifies the host name directly. Otherwise, if you supply
, then the name is the numeric IP address obtained by reverse lookup of the result of
You can supply ORB initialization options on the LispWorks command line or in the call to
For example, on the command line:
lispworks-corba-server -IIOPhost 192.168.1.9
lispworks-corba-server -IIOPhost my-fqdn.lispworks.com
For example, during ORB initialization:
(op:orb_init :lispworks-orb '("-IIOPnumeric"))
(op:orb_init :lispworks-orb '("-IIOPhost" "192.168.1.9"))
The ORB initargs
are aliases for