[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        SendPkt -- Sends a packet to a handler (V36)

   SYNOPSIS
        SendPkt(packet, port, replyport)
                 D1     D2      D3

        void SendPkt(struct dospacket *,struct msgport *,struct msgport *)

   FUNCTION
        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.

   INPUTS
        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.

   NOTES
        Callable from a task.

   SEE ALSO
        dopkt(), waitpkt(), allocdosobject(), freedosobject(), abortpkt()