Function: notify Purpose: Connect to Hermes' notification socket Category: SYSTEM File: srvreq.c Author: J.P. Terlouw Use: fd = notify(mode); int fd - file descriptor on socket or zero if mode==0 int mode - 1: connect; 0: disconnect Description: When a task is connected to the notification socket, Hermes will send event messages over this socket. These messages are defined in taskcom.h and include messages regarding changes on user input keywords. The task must be prepared to read these messages. This function is not normally called directly from application code, but rather through ScheduleHerevent or utility routines which call the latter routine. Updates: Apr 8, 1997: JPT, document created.