Replies a packet to the person who sent it to you
Source position: amigados.pas line 1800
procedure ReplyPkt( |
dp: PDOSPacket; |
res1: LongInt; |
res2: LongInt |
); |
dp |
|
Packet to reply, assumed to set up correctly. |
res1 |
|
First result |
res2 |
|
Secondary result |
This returns a packet to the process which sent it to you. In addition, puts your pr_MsgPort address in dp_Port, so using ReplyPkt() again will send the message to you. (This is used in "ping-ponging" packets between two processes). It uses result 1 and 2 to set the dp_Res1 and dp_Res2dp_Res2 fields of the packet.
|
Send a dos packet and wait for reply |
|
|
Sends a packet to a handler |
|
|
Waits for a packet to arrive at your pr_MsgPort |
|
|
Return extra information from the system |