SOCKPMAX (JANUS DEFINE parameter): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<span class="pageSubtitle">SOCKPMAX xx — Concurrent client connection limit</span> | |||
<span class="pageSubtitle" | |||
<var>SOCKPMAX</var> is a parameter on [[JANUS DEFINE]], which defines and sets characteristics of a Janus port | <var>SOCKPMAX</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port. | ||
This parameter specifies the maximum number of sockets a user may have connected at any time using the particular | This parameter specifies the maximum number of sockets a user may have connected at any time using the particular <var class="product">[[Janus Sockets]]</var> 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 <var>[[SOCKMAX parameter|SOCKMAX]]</var> | Note the distinction between this parameter on the <var>JANUS DEFINE</var> command and the <var>[[SOCKMAX parameter|SOCKMAX]]</var> <var class="product">Model 204</var> system parameter: | ||
<ul> | <ul> | ||
<li>The <var>SOCKPMAX</var> ''port'' parameter specifies the number of '''connected''' sockets a user may have at any time for the '''particular''' CLSOCK or DEBUGGERCLIENT port. A terminated connection '''is not included''' in this total, even if the application has not issued the $ | <li>The <var>SOCKPMAX</var> ''port'' parameter specifies the number of '''connected''' sockets a user may have at any time for the '''particular''' <var>[[JANUS DEFINE#type|CLSOCK]]</var> or <var>[[JANUS DEFINE#type|DEBUGGERCLIENT]]</var> port. A terminated connection '''is not included''' in this total, even if the application has not issued the <var>[[$Sock_Close]]</var> function for it. | ||
<li>The <var>SOCKMAX</var> ''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 <code>SOCKMAX - 1</code> sockets available to each user to make connections on CLSOCK or DEBUGGERCLIENT ports. A terminated connection '''is included''' in this total if the application has not issued the $ | <li>The <var>SOCKMAX</var> ''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 <code>SOCKMAX - 1</code> sockets available to each user to make connections on <var>CLSOCK</var> or <var>DEBUGGERCLIENT</var> ports. A terminated connection '''is included''' in this total if the application has not issued the <var>$Sock_Close</var> function for it. | ||
</ul> | </ul> | ||
Valid only for CLSOCK and DEBUGGERCLIENT ports. | Valid only for <var>CLSOCK</var> and <var>DEBUGGERCLIENT</var> ports. | ||
==See also== | ==See also== | ||
<ul> | <ul> | ||
<li>[[List of Janus commands]] | <li>[[List of Janus commands]] |
Latest revision as of 17:39, 11 July 2013
SOCKPMAX xx — Concurrent client connection limit
SOCKPMAX is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.
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 or DEBUGGERCLIENT 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 or DEBUGGERCLIENT 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 and DEBUGGERCLIENT ports.