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>add group name</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ADD GROUP NAME

Command code
. Hex 36 - wait option
. Hex B6 - no-wait option

Fields required
. NCB_NAME
. NCB_POST@     (if no-wait option is used)
. NCB_LANA_NUM  (number of the adapter for the add group name)

Field returned
. NCB_RETCODE
. NCB_NUM
. 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 09    - No resource available
. Hex 0D    - Duplicate name in local name table
. Hex 0E    - Name table is full
. Hex 15    - Name invalid
. Hex 16    - Name is use on remote node
. 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 adds a 16-character name to the table of names. Group names allow
a single node to communicate with many nodes. The name added cannot be added
by anyone else on the network as a unique name but can be added by anyone as a
group name.

When the NETBIOS processes this command, it sends a broadcast request on the
network. If no unique name replies, the name is added. The command returns the
number of your name in the NCB_NUM field. This number is used in datagram
support and for Receive Any commands.

See Also: Name support commands

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