Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Clients can be shared by multiple interpreters. This allows multiple Glish interpreters to share information in a way that compromises neither. The client itself indicates that it is intended to be shared, and it can indicate that it can be shared either only by the user who started it (multiple interpreters started by a single user), by any others in the user's group, or by any user running on a given machine (world). These modes of starting a shared client correspond to the UNIX permissions.
One important caveat is that the Glish daemon (glishd) must be started by the superuser, i.e. root, on those machines where shared clients are to be run. (See § 16.2 for more information about glishd.) This is necessary because glishd accepts connections from a published port and to do the necessary authentication, root privledge is required.
Section § 15.5.3 has an example of how shared clients can be constructed in C++, and the next section discusses how script clients can be shared.