SOCKPMAX (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:SOCKPMAX}}
{{DISPLAYTITLE:SOCKPMAX}}
<span class="pageSubtitle"><section begin="desc" /><section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />SOCKPMAX xx - Concurrent client connection limit<section end="desc" /></span>


SOCKPMAX is a parameter on [[JANUS DEFINE]], which defines and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
SOCKPMAX is a parameter on [[JANUS DEFINE]], which defines and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].


This parameter specifies the maximum number of sockets a user may have connected at any time using the particular ''[[Janus Sockets]]'' client port. The default, which is also the minimum value, is one, and the maximum value is 32767.  
This parameter specifies the maximum number of sockets a user may have connected at any time using the particular ''[[Janus Sockets]]'' client port. The default, which is also the minimum value, is one, and the maximum value is 32767.  


Note the distinction between this parameter on the JANUS DEFINE command and the SOCKMAX ''Model 204'' system parameter:
Note the distinction between this parameter on the JANUS DEFINE command and the SOCKMAX ''Model 204'' system parameter:
<ul>
<ul>
<li>The SOCKPMAX ''port'' parameter specifies the number of '''connected''' sockets a user may have at any time for the '''particular''' CLSOCK port. A terminated connection '''is not included''' in this total, even if the application has not issued the $SOCK_CLOSE function for it.  
<li>The SOCKPMAX ''port'' parameter specifies the number of '''connected''' sockets a user may have at any time for the '''particular''' CLSOCK port. A terminated connection '''is not included''' in this total, even if the application has not issued the $SOCK_CLOSE function for it.  
<li>The SOCKMAX ''system'' parameter specifies the number of '''in-use''' sockets a user may have at any time. One of these is reserved for the server socket number 1, whether the user is a server socket program or not, so there are SOCKMAX - 1 sockets available to each user to make connections on CLSOCK ports. A terminated connection '''is included''' in this total if the application has not issued the $SOCK_CLOSE function for it.
<li>The SOCKMAX ''system'' parameter specifies the number of '''in-use''' sockets a user may have at any time. One of these is reserved for the server socket number 1, whether the user is a server socket program or not, so there are SOCKMAX - 1 sockets available to each user to make connections on CLSOCK ports. A terminated connection '''is included''' in this total if the application has not issued the $SOCK_CLOSE function for it.
</ul>
</ul>


Valid only for CLSOCK ports.
Valid only for CLSOCK ports.

Revision as of 15:02, 14 March 2011

<section begin="desc" />SOCKPMAX xx - Concurrent client connection limit<section end="desc" />

SOCKPMAX is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.

This parameter specifies the maximum number of sockets a user may have connected at any time using the particular Janus Sockets client port. The default, which is also the minimum value, is one, and the maximum value is 32767.

Note the distinction between this parameter on the JANUS DEFINE command and the SOCKMAX Model 204 system parameter:

  • The SOCKPMAX port parameter specifies the number of connected sockets a user may have at any time for the particular CLSOCK port. A terminated connection is not included in this total, even if the application has not issued the $SOCK_CLOSE function for it.
  • The SOCKMAX system parameter specifies the number of in-use sockets a user may have at any time. One of these is reserved for the server socket number 1, whether the user is a server socket program or not, so there are SOCKMAX - 1 sockets available to each user to make connections on CLSOCK ports. A terminated connection is included in this total if the application has not issued the $SOCK_CLOSE function for it.

Valid only for CLSOCK ports.

References

See: List of Janus commands | List of JANUS DEFINE parameters.