Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Net - <b>receive broadcast datagram</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
RECEIVE BROADCAST DATAGRAM

Command code
. Hex 23 - wait option   (use with care since all processing halts until the
                         datagram is received)
. Hex A1 - no-wait option

Fields required
. NCB_BUFFER@
. NCB_LENGTH
. NCB_NUM
. NCB_POST@     (if no-wait option is used)
. NCB_LANA_NUM  (number of the adapter for the receive broadcast datagram)

Field returned
. NCB_RETCODE
. NCB_LENGTH
. NCB_CALLNAME
. NCB_CMD_CPLT

Immediate return codes
. Hex 00    - Command has no immediate errors
. Hex 03    - Invalid command
. Hex 21    - Interface busy
. Hex 22    - Too many commands outstanding
. Hex 23    - Invalid number in NCB_LANA_NUM field
. Hex 40/4F - Unusual network condition
. Hex 50/FE - Adapter malfunction

Final return codes
. Hex 00    - Command complete
. Hex 03    - Invalid command
. Hex 06    - Message incomplete
. Hex 0B    - Command canceled
. Hex 13    - Invalid name number
. Hex 17    - Name deleted
. Hex 19    - Name conflict detected
. Hex 21    - Interface busy
. Hex 22    - Too many commands outstanding
. Hex 23    - Invalid number in NCB_LANA_NUM field
. Hex 40/4F - Unusual network condition
. Hex 50/FE - Adapter malfunction

Function
This command receives a message from anyone who issued a Send Broadcast
Datagram command. There is no time-out for this command.

Note: A return code of hex 06 is returned in the NCB_RETCODE field if the
      receive buffer is not large enough for the data being sent. The
      remaining data is lost at this point.

See Also: Datagram support commands

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson