1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 7<title>PollType</title> 8 </head> 9 <body> 10<h1><CODE>nn::socket::PollType</CODE> Enumerated Type</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum PollType; 15</pre> 16 </div> 17<h2>Value</h2> 18 <div class="section"> 19 <table class="arguments"> 20 <thead> 21 <tr> 22<th>Value</th> 23<td>Description</td> 24 </tr> 25 </thead> 26 <tr> 27<th><CODE>POLLRDNORM</CODE></th> 28<td>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 <CODE>SOCListen</CODE> function.</td> 29 </tr> 30 <tr> 31<th><CODE>POLLRDBAND</CODE></th> 32<td>Indicates that priority band data can be read. TCP urgent mode data can be read in this state.</td> 33 </tr> 34 <tr> 35<th><CODE>POLLPRI</CODE></th> 36<td>Indicates that urgent data can be read. Protocols that can assume this state are unsupported.</td> 37 </tr> 38 <tr> 39<th><CODE>POLLWRNORM</CODE></th> 40<td>Indicates that normal data can be written.</td> 41 </tr> 42 <tr> 43<th><CODE>POLLWRBAND</CODE></th> 44<td>Indicates that priority band data can be written. TCP urgent mode data can be written in this state.</td> 45 </tr> 46 <tr> 47<th><CODE>POLLERR</CODE></th> 48<td>Indicates a state where an error was detected. (Only for <SPAN class="argument">revents</SPAN>)</td> 49 </tr> 50 <tr> 51<th><CODE>POLLHUP</CODE></th> 52<td>Hang-up status. (Only for <SPAN class="argument">revents</SPAN>)</td> 53 </tr> 54 <tr> 55<th><CODE>POLLNVAL</CODE></th> 56<td>Indicates a state where invalid processing has been executed. (Only for <SPAN class="argument">revents</SPAN>)</td> 57 </tr> 58 <tr> 59<th><CODE>POLLIN</CODE></th> 60<td>Indicates that data can be read. This is identical to a bitwise OR of <CODE>POLLRDNORM</CODE> and <CODE>POLLRDBAND</CODE>.</td> 61 </tr> 62 <tr> 63<th><CODE>POLLOUT</CODE></th> 64<td>Indicates that data can be written. This is identical to <CODE>POLLWRNORM</CODE>.</td> 65 </tr> 66 </table> </div> 67<h2>Description</h2> 68 <div class="section"> 69<p>Flags given to the <a href="../../nn/socket/Poll.html"><CODE>Poll</CODE></a> function.</p><!-- write here --></div> 70<h2>Revision History</h2> 71 <div class="section"> 72 <dl class="history"> 73 <dt>2010/11/10</dt> 74<dd>Initial version.<br /> 75 </dd> 76 </dl> 77 </div> 78 <hr><p>CONFIDENTIAL</p></body> 79</html>