NWGetConnectionUsageStats(3nw)


NWGetConnectionUsageStats -- returns usage statistics for connection

Synopsis

   #include <nwconnec.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWGetConnectionUsageStats (NWCONN_HANDLE conn, NWCONN_NUM connNumber, CONN_USE N_FAR * statusBuffer);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

connNumber
(IN) Specifies the server connection number.

statusBuffer
(OUT) Points to CONN_USE receiving the usage stats.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x89C6
NO_CONSOLE_OPERATOR

Notices

The client must have console rights to get usage statistics for connections other than client.

Services

Connection

NCP calls

0x2222 23 17 Get File Server Information
0x2222 23 229 Get Connection Usage Statistic

 
 0x2222   23   17    Get File Server 
                     Information 
 0x2222   23   229   Get Connection 
                     Usage Statistic 

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