NWNCPSend(3nw)


NWNCPSend -- sends an NCP to a server

Synopsis

   #include <nwconn.h> 
   

int NWNCPSend ( BYTE functionCode, char *sendPacket, WORD sendLen, char *replyBuf, WORD replyLen);

Description

The parameters are as follows:

functionCode
(IN) Specifies the NCP function code.

sendPacket
(IN) Points to the input buffer for the NCP.

sendLen
(IN) Specifies the length of sendPacket.

replyBuf
(IN/OUT) Points to the reply buffer for the NCP.

replyLen
(IN/OUT) Specifies the length of replyBuf.

Return values

ESUCCESS or NetWare errors.

Notices

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.

Services

NCP Extension


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.