[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'amigados' (#aros)


Waits for a packet to arrive at your pr_MsgPort


Source position: amigados.pas line 2285

function WaitPkt: PDosPacket;

Function result

the packet that arrived at the port (from ln_Name of message).


Waits for a packet to arrive at your pr_MsgPort. If anyone has installed a packet wait function in pr_PktWait, it will be called. The message will be automatically GetMsg()ed so that it is no longer on the port. It assumes the message is a dos packet. It is not guaranteed to clear the signal for the port.

See also



Sends a packet to a handler



Send a dos packet and wait for reply



Aborts an asynchronous packet, if possible.

Documentation generated on: 2017-01-10