NWSendBroadcastMessage
Allows a client to send a broadcast message to the specified logical connections on the specified NetWare server
#include <nwmsg.h>
or
#include <nwcalls.h>
NWCCODE N_API NWSendBroadcastMessage (
NWCONN_HANDLE conn,
const nstr8 N_FAR *message,
nuint16 connCount,
const nuint16 N_FAR *connList,
pnuint8 resultList);
uses calwin32
Function NWSendBroadcastMessage
(conn : NWCONN_HANDLE;
message : pnstr8;
connCount : nuint16;
connList : pnuint16;
resultList : pnuint8
) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
NWSendBroadcastMessage can be used by any client. The specified NetWare server attempts to store the broadcast message in the message buffer of each target connection. A result code for each target is returned by NWSendBroadcastMessage in resultList. Valid result codes are listed below:
These result codes indicate whether the NetWare server has successfully placed the message in the message buffer of the target connection. The NetWare server notifies the connection when a message arrives. However, placing the message in the message buffer and notifying the connection does not guarantee that the target station received the message. It is the target’s responsibility to retrieve and display the message, depending on the broadcast mode of the connection.
A broadcast message can have the following sizes:
before 3.11 1-58 bytes 3.11 and later 1-250 bytes
A broadcast can be sent to the following maximum number of configured connections:
before 3.11 1-200 3.11 and later 1-62
Messages longer than the appropriate buffer size are truncated. The broadcasting workstation does not receive a message regarding truncated broadcasts.