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> fscurrentconnget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSCurrentConnGet()
------------------------------------------------------------------------------
 Purpose:
 Get the number of current connections on the default file
 server.

 Syntax:
 iCons = FSCurrentConnGet()

 Parameters:
 None.

 Returns:
 A numeric value (signed short int).

 The CA-Clipper name for this function is:
 FSCurConGet()

 Description:
 FSCurrentConnGet() returns the number of workstations which are connected
 to the default file server and communicating with it via the NetWare shell.
 This is not necessarily the number of users logged in because workstations
 communicate with the file server even if no user is logged in.

 Returns NOVERRINT if an error occurs.

 Example:
 // To display the number of connections currently active:
 iConnCount = FSCurrentConnGet()
 if ( iConnCount != NOVERRINT )
    ? "The number of active connections is", iConnCount
 endif

See Also: WSConnNumberGet() UsrConnList() WSConnClear()

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