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>send broadcast datagram</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SEND BROADCAST DATAGRAM

Command code
. Hex 22 - wait option
. Hex A2 - 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 send broadcast datagram)

Field returned
. NCB_RETCODE
. 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 01    - Invalid buffer length
. Hex 03    - Invalid command
. Hex 13    - Invalid name number
. 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 sends a message to everyone who has a Receive Broadcast Datagram
command outstanding. If the remote adapter does not have a Receive Broadcast
Datagram command outstanding, it does not get the message. If a computer
issues a Send Broadcast Datagram command and has a Receive Broadcast Datagram
command outstanding, the adapter receives its own message. If the adapter has
several broadcast messages pending, the next Send Broadcast command issued
satisfies all Receive Broadcast commands.

See Also: Datagram support commands

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