rp_msg

Description

Queues text message to be broadcast to one or more client connections.

Syntax

rp_msg [pool_name], [srv_name], [spid], msg

Parameters

pool_name

The name of the pool to which the message should be delivered. Supplying only this argument sends the message to all connections in the specified pool.

srv_name

Sends the message to connections currently established to srv_name.

spid

The OpenSwitch process ID of the client connection to receive the message. Connection spid numbers can be obtained using rp_who.

msg

The text of the message to be delivered. This message must be less than 255 characters in length.

Examples

Example 1

1> rp_msg POOL1, ase2, 19, "TEST"
2> go

Results:

Successfully queued message to spid 19
(return status = 0)

Usage


Messages

See also

rp_who, sp_who