Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> spxmaxconget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SPXMaxConGet()
------------------------------------------------------------------------------
 Purpose:
 Get the maximum SPX connections possible for a workstation.

 Syntax:
 iMaxSPX = SPXMaxConGet()

 Parameters:
 None.

 Returns:
 A numeric value (signed short int).

 Description:
 SPXMaxConGet() returns the total number of SPX connections allowed on the
 calling workstation. The SHELL limits the number of simultaneous SPX
 connections for each workstation. By default the limit is 15, of which one
 is used by NETX.

 SPXMaxConGet() returns NOVERRINT if an error occurs.

 Example:
 // To determine the maximum number of SPX connection slots:
 iSPXConn = SPXMaxConGet()
 if iSPXConn != NOVERRINT
    ? "There are ",iSPXConn," allowed SPX connections."
 endif

 Notes:
 The maximum number of SPX connection slots can be increased by
 adding the line:

 SPX CONNECTIONS=< number >
 in the workstation's SHELL.CFG file.

See Also: SPXConFreGet() SPXInstalled() SPXPktGet() SPXPktSnd() SPXConnect()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson