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


rootAllActiveSockets[

Function: rootAllActiveSockets[ { -> [sockets] }
file: job.t
package: muf
status: tentative

The rootAllActiveSockets[ function returns a block containing all socket objects currently associated with a file descriptor or unix socket.

It provides the basic hook for taking an inventory of all online users, all running daemons, and such.

You may examine socket$S.type to distinguish different types of sockets, or socket$S.session to find associated jobs.

It would be more consistent with the Muq design philosophy to provide a class Socket-Set (say), with active sockets appearing as properties, but in this case I felt the extra overhead of introducing another hardwired class to be unjustified.


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