Docs » Autodocs » dos.library » SendPkt
SendPkt -- Sends a packet to a handler (V36)
SendPkt(packet, port, replyport) D1 D2 D3 void SendPkt(struct DosPacket *,struct MsgPort *,struct MsgPort *)
Sends a packet to a handler and does not wait. All fields in the packet must be initialized before calling this routine. The packet will be returned to replyport. If you wish to use this with WaitPkt(), use the address of your pr_MsgPort for replyport.
packet - packet to send, must be initialized and have a message. port - pr_MsgPort of handler process to send to. replyport - MsgPort for the packet to come back to.
Callable from a task.
DoPkt(), WaitPkt(), AllocDosObject(), FreeDosObject(), AbortPkt()
|