ToolTalk User's Guide

Session Scope

When a message is scoped to a session, only those applications that have connected to that session are considered as potential recipients.


Example 8–2 Setting a Session

Tt_message m= tt_message_create();
tt_message_scope_set(m, TT_SESSION);
tt_message_file_set(m, file);


The first line creates message. The second line adds scope to message, and the last line adds file attribute that does not affect message scope.