nn::socket::PollType Enumerated Type

Syntax

enum PollType;

Value

Value Description
POLLRDNORM Indicates that normal data can be read. This includes the state in which a connection request is received by a socket that started accepting requests as a result of a call to the SOCListen function.
POLLRDBAND Indicates that priority band data can be read. TCP urgent mode data can be read in this state.
POLLPRI Indicates that urgent data can be read. Protocols that can assume this state are unsupported.
POLLWRNORM Indicates that normal data can be written.
POLLWRBAND Indicates that priority band data can be written. TCP urgent mode data can be written in this state.
POLLERR Indicates a state where an error was detected. (Only for revents)
POLLHUP Hang-up status. (Only for revents)
POLLNVAL Indicates a state where invalid processing has been executed. (Only for revents)
POLLIN Indicates that data can be read. This is identical to a bitwise OR of POLLRDNORM and POLLRDBAND.
POLLOUT Indicates that data can be written. This is identical to POLLWRNORM.

Description

Flags given to the Poll function.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL