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

Command code
. Hex 31 - wait option
. Hex B1 - no-wait option

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

Field returned
. NCB_RETCODE
. NCB_CMD_CPLT

Immediate return codes
. Hex 00    - Command has no immediate errors
. 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 0F    - Command completed, name has active sessions and is deregistered
. Hex 15    - Name invalid
. 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 deletes a 16-character name from the name table. Use the Hang Up
command before you delete the name. If the name has active sessions when this
command is issued, the name is flagged as deregistered and the status, hex 0F
(command completed, name has active sessions) is returned to the user. The
actual deletion of the name does not occur until all sessions associated with
the name are closed or abnormally terminated. If the name has only pending
non-active session commands when the Delete Name command is issued, the name
is removed and hex 00 (command completed) is returned to the user. The pending
non-active sessions commands are terminated immediately with the "name was
deleted" status. Non-active session commands are:
. Listen
. Receive Any
. Datagram Receive
. Receive Broadcast Datagram

A name flagged as deregistered continues to occupy an entry in the local name
table until the deregistration is complete.

See Also: Name support commands

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