-- OISCPConstants.mesa. Last edited by Garlick, January 23, 1981 10:55 AM
-- Magic numbers for the OIS communication (transport) protocols.

DIRECTORY
SpecialSystem USING [NetworkNumber, SocketNumber];

OISCPConstants: DEFINITIONS =
BEGIN

-- Fixed network IDs and ranges.
phoneNetID: SpecialSystem.NetworkNumber = [0, 256];
maxPupNetID: SpecialSystem.NetworkNumber = [0, 255];
minXeroxProductNetID: SpecialSystem.NetworkNumber = [0, 512];
maxXeroxProductNetID: SpecialSystem.NetworkNumber = [LAST[CARDINAL], LAST[CARDINAL]-1];
broadcastLimitedNetID: SpecialSystem.NetworkNumber = [LAST[CARDINAL], LAST[CARDINAL]];

-- Well known sockets.
unknownSocketID: SpecialSystem.SocketNumber = [0];
uniqueSocketID: SpecialSystem.SocketNumber = [0];
routingInformationSocket: SpecialSystem.SocketNumber = [1];
echoerSocket: SpecialSystem.SocketNumber = [2];
errorSocket: SpecialSystem.SocketNumber = [3];
envoySocket: SpecialSystem.SocketNumber = [4];
courierSocket: SpecialSystem.SocketNumber = [5];
x860ToFileServer: SpecialSystem.SocketNumber = [6];
clearingHouseSocket: SpecialSystem.SocketNumber = [7];
timeServerSocket: SpecialSystem.SocketNumber = [8];

END..