When a device completes the command in a message, it will return the message to the message port specifed as the reply port in the message. A message port is obtained by calling the createmsgport() or createport() function. You must delete the message port when you are finished by calling the deletemsgport() or deleteport() function. If your application needs to be compatible with pre-V36 versions of the operating system, use the amiga.lib functions createport() and deleteport(); if you require v36 or higher, you may use the exec rom functions createmsgport() and deletemsgport().