next up previous contents index
Next: Script Clients Up: Events Previous: Creating Clients

Shared Clients


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 § 14.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 § 13.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.


Thu Nov 13 16:44:05 EST 1997