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

Command code
. Hex 10 - wait option
. Hex 91 - no-wait option

Fields required
. NCB_CALLNAME
. NCB_NAME
. NCB_RTO       (specified in 500 ms increments;
                if the field is set to hex 00,no receive time-outs occur)
. NCB_RTO       (specified in 500 ms increments;
                if the field is set to hex 00,no send time-outs occur)
. NCB_POST@     (if no-wait option is used)
. NCB_LANA_NUM  (number of the adapter issuing the call)

Field returned
. NCB_RETCODE
. NCB_LSN
. 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 0B    - Command canceled
. Hex 11    - Local session table full
. Hex 12    - Session open rejected
. Hex 14    - Cannot find name called, or no answer, or hex 00
. Hex 15    - Invalid name
. Hex 18    - Session ended abnormally
. 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 opens a session with another name specified by the NCB_CALLNAME
field using the local name specified by the supplied NCB_CALLNAME. The name
that you call must have a Listen command pending for the session with either a
local or a remote name. Multiple sessions can be established with the same
pair of names. All Send and Receive commands for this session will immediately
end if they are unsuccessful after the specified time-out intervals. The time-
out intervals are specified in 500-ms units (a value of zero means that no
time-out will occur). The Call command is repeated internally a predetermined
number of retries within an internal system time-out value. The Call command
ends unsuccessfully after the system time-out intervals and retry counts are
exhausted. When the Call is complete, a local session number (NCB_LSN) is
assigned and used thereafter to refer to the established session.

Local session numbers (NCB_LSN) are assigned in a round-robin technique,
starting from the next available value within the range of 1 to 254.

See Also: Session support commands

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