NWSendConsoleBroadcast(3nw)


NWSendConsoleBroadcast -- broadcasts message to logical connections on NetWare server

Synopsis

   #include <nwmsg.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWSendConsoleBroadcast (NWCONN_HANDLE conn, pnstr8 message, nuint16 connCount, pnuint16 connList);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

message
(IN) Points to the NULL-terminated message being broadcast.

connCount
(IN) Specifies the number of connections in the connection list.

connList
(IN) Points to an array containing the connection number of all stations scheduled to receive the message.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x89C6
NO_CONSOLE_PRIVILEGES

0x89FD
BAD_STATION_NUMBER

Notices

The requesting client must have operator rights to call NWSendConsoleBroadcast.

Messages are not received by workstations that have disabled broadcasts or workstations that are not logged in. If connCount is set to 0, the message is sent to all connections.

Services

Message

NCP calls

0x2222 23 17 Get File Server Information
0x2222 23 209 Send Console Broadcast
0x2222 23 253 Send Console Broadcast

 
 0x2222   23   17    Get File Server 
                     Information 
 0x2222   23   209   Send Console 
                     Broadcast 
 0x2222   23   253   Send Console 
                     Broadcast 

References

NWSetBroadcastMode(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.