BAP Online Manuals : Library Reference : Library by Name : send_msg
Previous: seen
Next: servertype

6.2.118. send_msg

sends message to another process

SYNOPSIS

send_msg(Destination,hello)

SYNTAX

send_msg(DestID,Msg) (i,i)

ARGUMENTS

server(DestID) (i) ID of the process who is the destination for the message
void(Msg) (i) message that is send

DESCRIPTION

Send the message Msg to the process given by DestID.

EXAMPLE

get_my_id(MyID),
exec(Server,( something(Results), send_msg(MyID,Results))),
something_else,
rec_msg(Server,Answer).

ERRORS

No runtime errors.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

rec_msg , query_msg


BAP Online Manuals : Library Reference : Library by Name : send_msg
Previous: seen
Next: servertype