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 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50<title>nn::socket::AddrInfo</title> 51 </head> 52 <body> 53<h1><CODE>nn::socket::AddrInfo</CODE> Structure</h1> 54<h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">struct AddrInfo 57{ 58 int flags; 59 int family; 60 int sockType; 61 int protocol; 62 unsigned addrLen; 63 char* canonName; 64 void* addr; 65 <a href="../../../nn/socket/AddrInfo/Overview.html">AddrInfo</a> * next; 66}; 67</pre> 68 </div> 69<h2>Description</h2> 70 <div class="section"> 71<p>A structure used with the <a href="../../../nn/socket/GetAddrInfo.html"><CODE>GetAddrInfo</CODE></a> function.</p><!-- write here --></div> 72 <a name="variable" id="variable"> 73<h2>Member Variables</h2> 74 <div class="section"> 75 <table class="members"> 76 <tr> 77 <td width="100"> </td> 78 <th> 79<span class="argument">flags</span> 80 </th> 81<td>Flags</td> 82 </tr> 83 <tr> 84 <td width="100"> </td> 85 <th> 86<span class="argument">family</span> 87 </th> 88<td>The socket's address family.</td> 89 </tr> 90 <tr> 91 <td width="100"> </td> 92 <th> 93<span class="argument">sockType</span> 94 </th> 95<td>The socket type.</td> 96 </tr> 97 <tr> 98 <td width="100"> </td> 99 <th> 100<span class="argument">protocol</span> 101 </th> 102<td>The socket's protocol.</td> 103 </tr> 104 <tr> 105 <td width="100"> </td> 106 <th> 107<span class="argument">addrLen</span> 108 </th> 109<td>The size of the socket structure.</td> 110 </tr> 111 <tr> 112 <td width="100"> </td> 113 <th> 114<span class="argument">canonName</span> 115 </th> 116<td>The canonical name.</td> 117 </tr> 118 <tr> 119 <td width="100"> </td> 120 <th> 121<span class="argument">addr</span> 122 </th> 123<td>A pointer to the socket structure.</td> 124 </tr> 125 <tr> 126 <td width="100"> </td> 127 <th> 128<span class="argument">next</span> 129 </th> 130<td>A pointer to the next <CODE>AddrInfo</CODE>. This is <CODE>NULL</CODE> at the end of a list.</td> 131 </tr> </table> 132 </div> 133 </a> 134<h2>Revision History</h2> 135 <div class="section"> 136 <dl class="history"> 137 <dt>2010/11/10</dt> 138<dd>Initial version.<br /> 139 </dd> 140 </dl> 141 </div> 142 <hr><p>CONFIDENTIAL</p></body> 143</html>