nlGetBoolean

get a boolean NL property

C Specification

Nlboolean nlGetBoolean(NLenum name)

Parameters

name

[in]Specifies the name of the property.

Description

nlGetBoolean returns the property specified by name. It can be one of the following:

NL_BLOCKING_IO: If enabled, all socket calls will block until completed. The default is disabled.

NL_TCP_NO_DELAY: If enabled, reliable (TCP) sockets will have the Nagle algorithm disabled. This should only be enabled for a connection using small and frequent packets. The default is disabled.

Return values

nlGetBoolean returns NL_TRUE if the property is enabled, or NL_FALSE if disabled.

Error codes

NL_INVALID_ENUM : The property name is not valid.

See also

nlDisable,
nlEnable


Back to the HawkNL index page


Go directly to the main HawkNL page at Hawk Software

© 2000-2002 Phil Frisbie.

Valid XHTML 1.0!