NCP Response Packet Format
REQUEST TYPES: According to Novell, there are seven categories. These categories and their functions include the following: 1111 Create a service connection.
2222 File service request.
3333 File service response.
5555 Destroy a service connection.
7777 Packet Burst.
8888 A private NCP request issued to a process on the same host.
9999 Indicates that the previous requests are still being processed.SEQUENCE NUMBER: Once a connection is established and packets begin to flow, packets are issued numbers in sequential order to indicate their sequence. When a server is finished processing these packets it puts the sequence numbers in the response packets so the client knows that its receipt from the server is correct.
CONNECTION NUMBER: This number is used by a file server and the clients that connect to it. Each connecting client has a connection number assigned to it, and, as a result, this number identifies the clients to the server.
TASK NUMBER: Multitasking hosts can conceivably have multiple tasks operating at one time. Servers use a task number to associate clients with opened files, so the server may close these files as the clients finish with them.
FUNCTION CODE: This number identifies the NCP function required.
SERVICE COMPLETION CODE: This field includes a value indicating whether an error occurred during processing. Any value other than 0 indicates that an error of some type occurred. Novell documentation provides additional details concerning this.
NCP DATA: This part of the packet includes data from the workstation.