retrieve the current value

C Specification

NLint nlGetInteger(NLenum name)



[in]Specifies the name of the value that is to be retrieved.


nlGetInteger retrieves the NL value specified by name. It can be one of the following:

NL_PACKETS_SENT: The total packets sent on all sockets.

NL_BYTES_SENTThe total bytes sent on all sockets.

NL_AVE_BYTES_SENTThe average bytes sent per second for the last 8 seconds on all sockets.

NL_HIGH_BYTES_SENTThe highest bytes per second ever sent on all sockets.

NL_PACKETS_RECEIVEDThe total packets received on all sockets.

NL_BYTES_RECEIVEDThe total bytes received on all sockets.

NL_AVE_BYTES_RECEIVEDThe average bytes received per second for the last 8 seconds on all sockets.

NL_HIGH_BYTES_RECEIVEDThe highest bytes per second ever received on all sockets.

NL_OPEN_SOCKETSThe number of sockets opened.

Return values

The requested counter, or 0 if there was an error.

Error codes

NL_INVALID_ENUM : The name is not valid.

See also


Back to the HawkNL index page

Go directly to the main HawkNL page at Hawk Software

© 2000-2002 Phil Frisbie.

Valid XHTML 1.0!