Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#amunits]

SendPkt

Sends a packet to a handler

Declaration

Source position: amigados.pas line 1707

procedure SendPkt(

  dp: pDosPacket;

  port: pMsgPort;

  replyport: pMsgPort

);

Arguments

dp

  

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.

Description

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.

See also

DoPkt

  

Send a dos packet and wait for reply

WaitPkt

  

Waits for a packet to arrive at your pr_MsgPort

AllocDosObject

  

Creates a dos object

FreeDosObject

  

Frees an object allocated by AllocDosObject()

AbortPkt

  

Aborts an asynchronous packet, if possible.


Documentation generated on: 2021-07-30