next up previous 199
Next: Sending Expected Replies
Up: AMS The Unix ADAM Message System
Previous: Getting Expected Replies


Receiving a Command

Any message, including commands or replies associated with an existing command, can be received using ams_receive(). When a new command message is received a new transaction (messid) will be set up in the receiving task. The path and messid associated with the command/reply are returned.

See `Sending a Command' for a discussion of the significance of the other arguments of ams_receive.



next up previous 199
Next: Sending Expected Replies
Up: AMS The Unix ADAM Message System
Previous: Getting Expected Replies

AMS The Unix ADAM Message System
Starlink User Note 241
B D Kelly (ROE)
A J Chipperfield (RAL)
16 August 2001
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils