Go to the first, previous, next, last section, table of contents.


getSocketCharEvent

Function: getSocketCharEvent { socket int -> event }
file: job.t
package: muf
status: alpha

The int value must be in the range 0-255.

The getSocketCharEvent function allows you to check the event which will be signalled to the socket's sessionLeader when that character is recieved from the net. (The character is then discarded.) If there is no such event, nil will be returned.

(This mechanism is a hack to simplify implementing special functionality for ^C ^T ^\ and so forth.)

Bugs: This interface should be implemented via normal properties on the socket rather than this special hack, but implementing that is not quite straight-forward.

See section setSocketCharEvent.


Go to the first, previous, next, last section, table of contents.