Network Programming for Microsoft Windows (Microsoft Professional Series)
NCBLISTEN
This command listens for a connection from another process, local or remote. If the first character of ncb_callname is an asterisk (*), a session is established with any network adapter that issues an NCBCALL to the local name. The name making the NCBCALL is returned in the ncb_callname field. If either a send or receive timeout is specified, these timeout values are applied to all send and receive calls made on the new session. Table 22-17 describes the characteristics of the NCBLISTEN command.
| Field | In/Out | Required |
| ncb_command | In | X |
| ncb_retcode | Out | |
| ncb_lsn | Out | |
| ncb_num | ||
| ncb_buffer | ||
| ncb_length | ||
| ncb_callname | In/Out | X |
| ncb_name | In | X |
| ncb_rto | In | |
| ncb_sto | In | |
| ncb_post | In | |
| ncb_lana_num | In | X |
| ncb_cmd_cplt | Out | |
| ncb_event | In |