[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_SBM()
 Send broadcast message
------------------------------------------------------------------------------
 Syntax
 
      fn_sbm( <anConn>, <cMsg> ) -> aResult
 
 Arguments

     <anConn> is an array of numeric connection IDs (e.g., 1-100 in
     NW 286, 1-250 in NW386).  If you only want to send to one
     connection ID, just send in a one element array, i.e. { nConn }

 Returns

     An array of result codes as follows:

          0        Success (msg stored in target msg buffer)
        252        Rejected (target station buffer full)
        253        Invalid Connection Number (too high, etc)
        255        Blocked (station casted off, or isn't in use)

 Description

     fn_sbm() sends a broadcast message to the specified logical
     connections on the default file server.

     Note that a broadcast message on Novell Netware does *not*
     contain the userid/connection number of the sender.
     It will show up on line 25 of the user's screen, with only
     the symbol  ">>" in front of it.

     A broadcast message can be up to 55 bytes long.  Workstations
     have one 55-byte buffer available.

 Examples

         aResult := fn_sbm( { 10, 15, 22 } , "Hi there!" )

         Attempts to send msg to stations 10, 15, and 22.
         Result codes in aResult (array).


 Source: N:\SRC\MSGSERV\BROADMSG.PRG

 Author: Glenn Scott

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson