#include <nwconn.h>int NWNCPSend ( BYTE functionCode, char sendPacket, WORD sendLen, char replyBuf, WORD replyLen);
ESUCCESS or NetWare errors.
NWNCPSend allows you to send an NCP request to the currently connected server. An NCP request consists of a function code and a request buffer that contains input information needed to process the request. NCP function codes and request buffer formats are documented in NetWare System Calls, available from NetWare Developer Relations.
NCP Extension