!!! Overview [{$pagename}] ([NCP]) is a [network] [Protocol Suite] from [Novell INC] and although usually associated with [NetWare] and [Internetwork Packet Exchange]/[SPX], it is also used over [TCP]/[IP] !!! Overview [{$pagename}] ([NCP]) manages access to the primary [eDirectory] server resources. [{$pagename}] makes procedure calls to the [NetWare File Sharing Protocol] ([NFSP]) that services requests for [NetWare] file and print resources. !! [NCP] Request header The format of the [NCP] Request header is shown in the following illustration. The request type is 2 bytes; all other fields are 1 byte. * Request type * Sequence number * Connection number low * Task number * Connection number high * Request code * Data (variable length) !! Request type Identifies the packet type: ||Code([hex])||Description |1111H|Allocate slot request |2222H|File server request. |3333H|File server reply. |5555H|Deallocate slot request. |7777H|Burst mode packet (BMP). |9999H|Positive acknowledge. !! Sequence number Number used by the workstation and file server to identify packets which are sent and received. !! Connection number low Low connection ID number assigned to the workstation. !! Task number Identifies the operating system e.g., DOS, task. !! Connection number high High Connection ID number assigned to the workstation. Used only on the 1000-user version of NetWare, on all other versions will be set to 0. !! Request code Identifies the specific request function code. The structure of the NCP Reply header is the same as the Request header, but the last 2 bytes differ after Connection Number High. This is shown in the following illustration: * Completion code * Connection status !! [Completion code|Result Code] The [Completion code|Result Code] indicates whether or not the [Client]’s request was successful. A value of 0 in the [Completion code|Result Code] field indicates that the request was successful. Any other value indicates an error. !! Connection status The fourth bit in this byte will be set to 1 if DOWN is typed at the console prompt, to bring the server down. !! Category %%category [eDirectory]%% !! More Information There might be more information for this subject on one of the following: [{ReferringPagesPlugin before='*' after='\n' }] ---- * [#1] - [NCP|http://www.protocols.com/pbook/novel.htm#NCP|target='_blank'] - based on information obtained 2013-04-10