$PROTO is the string IPC. Both ipcserver and ipcclient set this environment variable.
$IPCLOCALPATH is the file name associated with the local socket. Both ipcserver and ipcclient set this environment variable.
$IPCREMOTEPATH is the path associated with the remote socket. Only ipcserver sets this environment variable. If the remote socket is not bound to a path, then this environment variable is set, but empty. Beware that $IPCREMOTEPATH is under the control of the remote user, and can contain arbitrary characters.
$IPCREMOTEEUID is the effective user id of the client process that called connect, in decimal. Only ipcserver sets this environment variable.
$IPCREMOTEEGID is the effective group id of the client process that called connect, in decimal. Only ipcserver sets this environment variable.
Copyright © 2009 by SuperScript Technology, Inc. All rights reserved.