constants_8h.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.16"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Socket Server: headers/constants.h File Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">Socket Server
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.16 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. <div id="nav-path" class="navpath">
  61. <ul>
  62. <li class="navelem"><a class="el" href="dir_7f57b1e41c5acd0e859ae5f3a2b075a9.html">headers</a></li> </ul>
  63. </div>
  64. </div><!-- top -->
  65. <div class="header">
  66. <div class="summary">
  67. <a href="#define-members">Macros</a> &#124;
  68. <a href="#var-members">Variables</a> </div>
  69. <div class="headertitle">
  70. <div class="title">constants.h File Reference</div> </div>
  71. </div><!--header-->
  72. <div class="contents">
  73. <p><a href="constants_8h_source.html">Go to the source code of this file.</a></p>
  74. <table class="memberdecls">
  75. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
  76. Macros</h2></td></tr>
  77. <tr class="memitem:a7b09af6ee3c356c6ba02789d8df81ead"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="constants_8h.html#a7b09af6ee3c356c6ba02789d8df81ead">TRX_SOCKET_CONSTANTS</a>&#160;&#160;&#160;1</td></tr>
  78. <tr class="separator:a7b09af6ee3c356c6ba02789d8df81ead"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. </table><table class="memberdecls">
  80. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
  81. Variables</h2></td></tr>
  82. <tr class="memitem:a7f4f0dd9da8c8a8f94c90f220180b5aa"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="constants_8h.html#a7f4f0dd9da8c8a8f94c90f220180b5aa">SOCKET_ERROR</a> = -1</td></tr>
  83. <tr class="separator:a7f4f0dd9da8c8a8f94c90f220180b5aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:af59cdc19a0071eae1c2cdc360933915b"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="constants_8h.html#af59cdc19a0071eae1c2cdc360933915b">SOCKET_OK</a> = 0</td></tr>
  85. <tr class="separator:af59cdc19a0071eae1c2cdc360933915b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. <tr class="memitem:a1da4089355fd8fe699510ce617f0c853"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="constants_8h.html#a1da4089355fd8fe699510ce617f0c853">WAIT_SOCKET_FAILURE</a> = -1</td></tr>
  87. <tr class="separator:a1da4089355fd8fe699510ce617f0c853"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:a5af241ff8315b3576a4361ed240b0aac"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="constants_8h.html#a5af241ff8315b3576a4361ed240b0aac">WAIT_SOCKET_SUCCESS</a> = 0</td></tr>
  89. <tr class="separator:a5af241ff8315b3576a4361ed240b0aac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. </table>
  91. <h2 class="groupheader">Macro Definition Documentation</h2>
  92. <a id="a7b09af6ee3c356c6ba02789d8df81ead"></a>
  93. <h2 class="memtitle"><span class="permalink"><a href="#a7b09af6ee3c356c6ba02789d8df81ead">&#9670;&nbsp;</a></span>TRX_SOCKET_CONSTANTS</h2>
  94. <div class="memitem">
  95. <div class="memproto">
  96. <table class="memname">
  97. <tr>
  98. <td class="memname">#define TRX_SOCKET_CONSTANTS&#160;&#160;&#160;1</td>
  99. </tr>
  100. </table>
  101. </div><div class="memdoc">
  102. </div>
  103. </div>
  104. <h2 class="groupheader">Variable Documentation</h2>
  105. <a id="a7f4f0dd9da8c8a8f94c90f220180b5aa"></a>
  106. <h2 class="memtitle"><span class="permalink"><a href="#a7f4f0dd9da8c8a8f94c90f220180b5aa">&#9670;&nbsp;</a></span>SOCKET_ERROR</h2>
  107. <div class="memitem">
  108. <div class="memproto">
  109. <table class="memname">
  110. <tr>
  111. <td class="memname">const int SOCKET_ERROR = -1</td>
  112. </tr>
  113. </table>
  114. </div><div class="memdoc">
  115. <p>Values used when attempting to open a socket </p>
  116. </div>
  117. </div>
  118. <a id="af59cdc19a0071eae1c2cdc360933915b"></a>
  119. <h2 class="memtitle"><span class="permalink"><a href="#af59cdc19a0071eae1c2cdc360933915b">&#9670;&nbsp;</a></span>SOCKET_OK</h2>
  120. <div class="memitem">
  121. <div class="memproto">
  122. <table class="memname">
  123. <tr>
  124. <td class="memname">const int SOCKET_OK = 0</td>
  125. </tr>
  126. </table>
  127. </div><div class="memdoc">
  128. </div>
  129. </div>
  130. <a id="a1da4089355fd8fe699510ce617f0c853"></a>
  131. <h2 class="memtitle"><span class="permalink"><a href="#a1da4089355fd8fe699510ce617f0c853">&#9670;&nbsp;</a></span>WAIT_SOCKET_FAILURE</h2>
  132. <div class="memitem">
  133. <div class="memproto">
  134. <table class="memname">
  135. <tr>
  136. <td class="memname">const int WAIT_SOCKET_FAILURE = -1</td>
  137. </tr>
  138. </table>
  139. </div><div class="memdoc">
  140. <p>Values used when listening for connections to a socket </p>
  141. </div>
  142. </div>
  143. <a id="a5af241ff8315b3576a4361ed240b0aac"></a>
  144. <h2 class="memtitle"><span class="permalink"><a href="#a5af241ff8315b3576a4361ed240b0aac">&#9670;&nbsp;</a></span>WAIT_SOCKET_SUCCESS</h2>
  145. <div class="memitem">
  146. <div class="memproto">
  147. <table class="memname">
  148. <tr>
  149. <td class="memname">const int WAIT_SOCKET_SUCCESS = 0</td>
  150. </tr>
  151. </table>
  152. </div><div class="memdoc">
  153. </div>
  154. </div>
  155. </div><!-- contents -->
  156. <!-- start footer part -->
  157. <hr class="footer"/><address class="footer"><small>
  158. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  159. <img class="footer" src="doxygen.png" alt="doxygen"/>
  160. </a> 1.8.16
  161. </small></address>
  162. </body>
  163. </html>