NWGetNumConnections(3nw)


NWGetNumConnections -- returns the number of connections that can be supported by VLM

Synopsis

   #include <nwnet.h> 
   see also 
   #include <nwdstype.h> 
   #include <nwndscon.h> 
   

NWCCODE N_API NWGetNumConnections (nuint16 N_FAR * numConnections);

Description

The parameters are as follows:

numConnections
(OUT) Points to the number of connections supported.

Return values

0x0000
SUCCESSFUL

0x8800
VLM_ERROR

Notices

The number of connections can be configured in the net.cfg file.

To call NWGetNumConnections in DOS or in Windows, VLMs must be running. NETX does not support NWGetNumConnections and will return an error if VLMs are not running.

Services

Connection (Directory Support)

NCP calls

None
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.