NWNCPExtensionRequest(3nw)


NWNCPExtensionRequest -- sends and receives small data from NCP extension handler

Synopsis

   #include <nwncpext.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWNCPExtensionRequest( NWCONN_HANDLE conn, nuint32 NCPExtensionID, nptr requestData, nuint16 requestDataLen, nptr replyData, pnuint16 replyDataLen);

Description

The parameters are as follows:

conn
(IN) Indicates the NetWare server connection handle.

NCPExtensionID
(IN) Indicates the ID of the NCP extension handler to use for the request.

requestData
(IN) Points to a buffer containing request data.

requestDataLen
(IN) Indicates the length of request data.

replyData
(OUT) Points to a buffer to receive reply data (can be the same buffer as request data; optional if no request data is expected).

replyDataLen
(IN/OUT) Points to amount of data expected and how much data was returned (optional if no request data is expected).

Notices

NWNCPExtensionRequest should be used only if the send size is 511 bytes or less, and the receive size is 100 bytes or less. On 4.0, NWNCPExtensionRequest should be used only if the receive size is 523 bytes or less.

If either of these limits is exceeded, NWNCPExtensionRequest will send the packets via NWFragNCPExtensionRequest.

Services

NCP Extension

NCP calls

0x2222 23 17 Get File Server Information

 
 0x2222   23   17   Get File Server Information 

References

NWGetNCPExtensionInfo(3nw), NWFragNCPExtensionRequest(3nw), NWScanNCPExtensions(3nw), NWGetNCPExtensionInfoByName(3nw), NWGetNCPExtensionsList(3nw), NWGetNumberNCPExtensions(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.