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

Command code
. Hex 32 - wait option

Fields required
. NCB_LSN       (number of sessions supported)
. NCB_NUM       (number of command blocks supported)
. NCB_LANA_NUM  (number of the adapter to reset)

Field returned
. NCB_RETCODE
. NCB_CMD_CPLT

Final return codes
. Hex 00    - Command complete
. Hex 03    - Invalid command
. Hex 23    - Invalid number in NCB_LANA_NUM field
. Hex 40/4F - Unusual network condition
. Hex 50/FE - Adapter malfunction

Function
This command resets the the local status and clears the name and session
tables. The number of sessions and NCB command blocks to be supported can be
changed by this command. For the maximum values of sessions and NCB command
blocks, refer to the specific implementation you are using. The default values
are 6 sessions and 12 command blocks. Additional sessions and NCB command
blocks require space and consequently reduce the session frame size on the
network. For best performance, configure only the number of sessions and
commands that you actually need. If the specified values exceed the limits,
the maximum values are used. If binary zeros are specified, the default values
are used.

Once the reset is complete, the Status command can be used to see the maximum
data frame size allowed by the adapter. Since overall performance is related
to the number of frames sent on the network, you can choose to optimize your
message size to fit into one frame. If two adapters are reset to different
values of NCB command blocks and sessions supported, the resulting frame sent
on the network between these two adapters under a session will always be the
smaller of the two.

Only a power-on reset will reset traffic and error statistic data from the
Status command. The Reset command does not.

See Also: General commands

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