NCBLISTEN

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.

Table 22-17 NCBLISTEN

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



Network Programming for Microsoft Windows
Network Programming for Microsoft Windows (Microsoft Professional Series)
ISBN: 0735605602
EAN: 2147483647
Year: 2001
Pages: 172
Authors: Anthony Jones

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net