[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_MAXCONN()
Return Maximum Connections for the default Server
------------------------------------------------------------------------------
Syntax
fn_MaxConn() -> nConnections_Supported
Arguments
None
Returns
The Maximum number connections supported by the default File
Server. It will be a number in the range of 4 to 250.
When not logged in to a Server, return value is undetermined.
Also, testing shows the number to be above the valid range.
Description
This is a high-level wrapper around fn_getFSI() that just
returns the Max Connections supported by the default File Server.
If fn_getFSI returns an empty array, indicating an error, then
this function will return 0 and you should check fn_error().
Examples
qout( "Maximum File Server Connections: " + fn_maxconn() )
Source: N:\SRC\FSERV\MAXCONN.PRG
Author: Rodgers Moore
See Also:
fn_get_fsi()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson