reference.html 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  2. "http://www.w3.org/TR/html4/strict.dtd">
  3. <html>
  4. <head>
  5. <meta name="description" content="LuaSocket: Index to reference manual">
  6. <meta name="keywords" content="Lua, LuaSocket, Index, Manual, Network, Library,
  7. Support, Manual">
  8. <title>LuaSocket: Index to reference manual</title>
  9. <link rel="stylesheet" href="reference.css" type="text/css">
  10. </head>
  11. <body>
  12. <!-- header ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  13. <div class=header>
  14. <hr>
  15. <center>
  16. <table summary="LuaSocket logo">
  17. <tr><td align=center><a href="http://www.lua.org">
  18. <img width=128 height=128 border=0 alt="LuaSocket" src="luasocket.png">
  19. </a></td></tr>
  20. <tr><td align=center valign=top>Network support for the Lua language
  21. </td></tr>
  22. </table>
  23. <p class=bar>
  24. <a href="index.html">home</a> &middot;
  25. <a href="index.html#download">download</a> &middot;
  26. <a href="installation.html">installation</a> &middot;
  27. <a href="introduction.html">introduction</a> &middot;
  28. <a href="reference.html">reference</a>
  29. </p>
  30. </center>
  31. <hr>
  32. </div>
  33. <!-- reference +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  34. <h2>Reference</h2>
  35. <blockquote>
  36. <a href="dns.html">DNS (in socket)</a>
  37. <blockquote>
  38. <a href="dns.html#getaddrinfo">getaddrinfo</a>,
  39. <a href="dns.html#gethostname">gethostname</a>,
  40. <a href="dns.html#tohostname">tohostname</a>,
  41. <a href="dns.html#toip">toip</a>.
  42. </blockquote>
  43. </blockquote>
  44. <!-- ftp ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  45. <blockquote>
  46. <a href="ftp.html">FTP</a>
  47. <blockquote>
  48. <a href="ftp.html#get">get</a>,
  49. <a href="ftp.html#put">put</a>.
  50. </blockquote>
  51. </blockquote>
  52. <!-- http +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  53. <blockquote>
  54. <a href="http.html">HTTP</a>
  55. <blockquote>
  56. <a href="http.html#request">request</a>.
  57. </blockquote>
  58. </blockquote>
  59. <!-- ltn12 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  60. <blockquote>
  61. <a href="ltn12.html">LTN12</a>
  62. <blockquote>
  63. <a href="ltn12.html#filter">filter</a>:
  64. <a href="ltn12.html#filter.chain">chain</a>,
  65. <a href="ltn12.html#filter.cycle">cycle</a>.
  66. </blockquote>
  67. <blockquote>
  68. <a href="ltn12.html#pump">pump</a>:
  69. <a href="ltn12.html#pump.all">all</a>,
  70. <a href="ltn12.html#pump.step">step</a>.
  71. </blockquote>
  72. <blockquote>
  73. <a href="ltn12.html#sink">sink</a>:
  74. <a href="ltn12.html#sink.chain">chain</a>,
  75. <a href="ltn12.html#sink.error">error</a>,
  76. <a href="ltn12.html#sink.file">file</a>,
  77. <a href="ltn12.html#sink.null">null</a>,
  78. <a href="ltn12.html#sink.simplify">simplify</a>,
  79. <a href="ltn12.html#sink.table">table</a>.
  80. </blockquote>
  81. <blockquote>
  82. <a href="ltn12.html#source">source</a>:
  83. <a href="ltn12.html#source.cat">cat</a>,
  84. <a href="ltn12.html#source.chain">chain</a>,
  85. <a href="ltn12.html#source.empty">empty</a>,
  86. <a href="ltn12.html#source.error">error</a>,
  87. <a href="ltn12.html#source.file">file</a>,
  88. <a href="ltn12.html#source.simplify">simplify</a>,
  89. <a href="ltn12.html#source.string">string</a>.
  90. </blockquote>
  91. </blockquote>
  92. <!-- mime +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  93. <blockquote>
  94. <a href="mime.html">MIME</a>
  95. <blockquote>
  96. <a href="mime.html#high">high-level</a>:
  97. <a href="mime.html#decode">decode</a>,
  98. <a href="mime.html#encode">encode</a>,
  99. <a href="mime.html#normalize">normalize</a>,
  100. <a href="mime.html#stuff">stuff</a>,
  101. <a href="mime.html#wrap">wrap</a>.
  102. </blockquote>
  103. <blockquote>
  104. <a href="mime.html#low">low-level</a>:
  105. <a href="mime.html#b64">b64</a>,
  106. <a href="mime.html#dot">dot</a>,
  107. <a href="mime.html#eol">eol</a>,
  108. <a href="mime.html#qp">qp</a>,
  109. <a href="mime.html#qpwrp">qpwrp</a>,
  110. <a href="mime.html#unb64">unb64</a>,
  111. <a href="mime.html#unqp">unqp</a>,
  112. <a href="mime.html#wrp">wrp</a>.
  113. </blockquote>
  114. </blockquote>
  115. <!-- smtp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  116. <blockquote>
  117. <a href="smtp.html">SMTP</a>
  118. <blockquote>
  119. <a href="smtp.html#message">message</a>,
  120. <a href="smtp.html#send">send</a>.
  121. </blockquote>
  122. </blockquote>
  123. <!-- socket +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  124. <blockquote>
  125. <a href="socket.html">Socket</a>
  126. <blockquote>
  127. <a href="socket.html#bind">bind</a>,
  128. <a href="socket.html#connect">connect</a>,
  129. <a href="socket.html#connect">connect4</a>,
  130. <a href="socket.html#connect">connect6</a>,
  131. <a href="socket.html#datagramsize">_DATAGRAMSIZE</a>,
  132. <a href="socket.html#debug">_DEBUG</a>,
  133. <a href="dns.html#dns">dns</a>,
  134. <a href="socket.html#gettime">gettime</a>,
  135. <a href="socket.html#headers.canonic">headers.canonic</a>,
  136. <a href="socket.html#newtry">newtry</a>,
  137. <a href="socket.html#protect">protect</a>,
  138. <a href="socket.html#select">select</a>,
  139. <a href="socket.html#sink">sink</a>,
  140. <a href="socket.html#skip">skip</a>,
  141. <a href="socket.html#sleep">sleep</a>,
  142. <a href="socket.html#setsize">_SETSIZE</a>,
  143. <a href="socket.html#socketinvalid">_SOCKETINVALID</a>,
  144. <a href="socket.html#source">source</a>,
  145. <a href="tcp.html#socket.tcp">tcp</a>,
  146. <a href="tcp.html#socket.tcp4">tcp4</a>,
  147. <a href="tcp.html#socket.tcp6">tcp6</a>,
  148. <a href="socket.html#try">try</a>,
  149. <a href="udp.html#socket.udp">udp</a>,
  150. <a href="udp.html#socket.udp4">udp4</a>,
  151. <a href="udp.html#socket.udp6">udp6</a>,
  152. <a href="socket.html#version">_VERSION</a>.
  153. </blockquote>
  154. </blockquote>
  155. <!-- tcp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  156. <blockquote>
  157. <a href="tcp.html">TCP (in socket)</a>
  158. <blockquote>
  159. <a href="tcp.html#accept">accept</a>,
  160. <a href="tcp.html#bind">bind</a>,
  161. <a href="tcp.html#close">close</a>,
  162. <a href="tcp.html#connect">connect</a>,
  163. <a href="tcp.html#dirty">dirty</a>,
  164. <a href="tcp.html#getfd">getfd</a>,
  165. <a href="tcp.html#getoption">getoption</a>,
  166. <a href="tcp.html#getpeername">getpeername</a>,
  167. <a href="tcp.html#getsockname">getsockname</a>,
  168. <a href="tcp.html#getstats">getstats</a>,
  169. <a href="tcp.html#gettimeout">gettimeout</a>,
  170. <a href="tcp.html#listen">listen</a>,
  171. <a href="tcp.html#receive">receive</a>,
  172. <a href="tcp.html#send">send</a>,
  173. <a href="tcp.html#setfd">setfd</a>,
  174. <a href="tcp.html#setoption">setoption</a>,
  175. <a href="tcp.html#setstats">setstats</a>,
  176. <a href="tcp.html#settimeout">settimeout</a>,
  177. <a href="tcp.html#shutdown">shutdown</a>.
  178. </blockquote>
  179. </blockquote>
  180. <!-- udp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  181. <blockquote>
  182. <a href="udp.html">UDP (in socket)</a>
  183. <blockquote>
  184. <a href="udp.html#close">close</a>,
  185. <a href="udp.html#getoption">getoption</a>,
  186. <a href="udp.html#getpeername">getpeername</a>,
  187. <a href="udp.html#getsockname">getsockname</a>,
  188. <a href="udp.html#gettimeout">gettimeout</a>,
  189. <a href="udp.html#receive">receive</a>,
  190. <a href="udp.html#receivefrom">receivefrom</a>,
  191. <a href="udp.html#send">send</a>,
  192. <a href="udp.html#sendto">sendto</a>,
  193. <a href="udp.html#setpeername">setpeername</a>,
  194. <a href="udp.html#setsockname">setsockname</a>,
  195. <a href="udp.html#setoption">setoption</a>,
  196. <a href="udp.html#settimeout">settimeout</a>.
  197. </blockquote>
  198. </blockquote>
  199. <!-- url ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  200. <blockquote>
  201. <a href="url.html">URL</a>
  202. <blockquote>
  203. <a href="url.html#absolute">absolute</a>,
  204. <a href="url.html#build">build</a>,
  205. <a href="url.html#build_path">build_path</a>,
  206. <a href="url.html#escape">escape</a>,
  207. <a href="url.html#parse">parse</a>,
  208. <a href="url.html#parse_path">parse_path</a>,
  209. <a href="url.html#unescape">unescape</a>.
  210. </blockquote>
  211. </blockquote>
  212. <!-- footer ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  213. <div class=footer>
  214. <hr>
  215. <center>
  216. <p class=bar>
  217. <a href="index.html">home</a> &middot;
  218. <a href="index.html#down">download</a> &middot;
  219. <a href="installation.html">installation</a> &middot;
  220. <a href="introduction.html">introduction</a> &middot;
  221. <a href="reference.html">reference</a>
  222. </p>
  223. <p>
  224. <small>
  225. Last modified by Diego Nehab on <br>
  226. Thu Apr 20 00:25:47 EDT 2006
  227. </small>
  228. </p>
  229. </center>
  230. </div>
  231. </body>
  232. </html>