Network Programming for Microsoft Windows (Microsoft Professional Series)
NCBSEND
This command sends data to the specified session partner. The maximum data size that can be transmitted is 65,536 bytes (64 KB). If the remote side issues a hang up command, all pending sends return the “session closed” error, NRC_SCLOSED (0x0A). If more than one send command is pending, they are processed in FIFO order. Table 22-21 describes the characteristics of the NCBSEND command.
| Field | In/Out | Required |
| ncb_command | In | X |
| ncb_retcode | Out | |
| ncb_lsn | In | X |
| ncb_num | ||
| ncb_buffer | In | X |
| ncb_length | In | X |
| ncb_callname | ||
| ncb_name | ||
| ncb_rto | ||
| ncb_sto | ||
| ncb_post | In | |
| ncb_lana_num | In | X |
| ncb_cmd_cplt | Out | |
| ncb_event | In |