#include <nwncpext.h> #include <nwmisc.h> or #include <nwcalls.h>NWCCODE N_API NWFragNCPExtensionRequest( NWCONN_HANDLE conn, nuint32 NCPExtensionID, nuint16 reqFragCount, NW_FRAGMENT N_FAR
reqFragList, nuint16 replyFragCount, NW_FRAGMENT N_FAR
replyFragList);
The fragment based protocol allows data up to 64K (a server imposed limitation) to be transferred to and from the NCP extension handler.
To increase packet efficiency, NWFragNCPExtensionRequest packs as many fragments as possible into a send buffer. On return, the data is scattered into
replyFragList. Due to the internal operation of
NWFragNCPExtensionRequest, fragAddress
in the request and reply fragments may be changed. Upon return from NWFragNCPExtensionRequest,
reqFragList and replyFragList data will be in an unknown state.
NCP Extension
0x2222 23 17 Get File Server Information