SOCKMAX parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(No difference)

Revision as of 21:51, 5 November 2011

Summary

Default value
10
Parameter type
System
Where set
User 0 CCAIN parameters
Related products
Janus Sockets
Introduced
Before Sirius Mods 6.7

Description

This parameter specifies the maximum total number of sockets a user may use at any time (one of these is reserved for the server socket number 1, whether the user is a server socket program or not). The default for SOCKMAX is 10, which allows 9 client socket numbers to be in use. The minimum value for SOCKMAX is 2, and the maximum value is 88. SOCKMAX affects storage allocation for each user who is using any sockets — each such user has allocated 6 + (6 * SOCKMAX) bytes (rounded up to a multiple of 4). In addition, each open socket over a Janus Sockets or Sirius Debugger port increases the storage requirement by 960 bytes plus the value of the IBSIZE and OBSIZE parameters. Note the distinction between this Model 204 system parameter and SOCKPMAX.