2003-08-31 03:00:15 +02:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
2004-06-21 08:07:58 +02:00
|
|
|
<meta name="description" content="LuaSocket: Index to reference manual">
|
2004-11-28 09:17:16 +01:00
|
|
|
<meta name="keywords" content="Lua, LuaSocket, Index, Manual, Network, Library,
|
|
|
|
Support, Manual">
|
2004-06-21 08:07:58 +02:00
|
|
|
<title>LuaSocket: Index to reference manual</title>
|
2003-08-31 03:00:15 +02:00
|
|
|
<link rel="stylesheet" href="reference.css" type="text/css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<!-- header ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
|
|
|
|
<div class=header>
|
|
|
|
<hr>
|
|
|
|
<center>
|
|
|
|
<table summary="LuaSocket logo">
|
|
|
|
<tr><td align=center><a href="http://www.lua.org">
|
2004-06-21 08:07:58 +02:00
|
|
|
<img width=128 height=128 border=0 alt="LuaSocket" src="luasocket.png">
|
2003-08-31 03:00:15 +02:00
|
|
|
</a></td></tr>
|
|
|
|
<tr><td align=center valign=top>Network support for the Lua language
|
|
|
|
</td></tr>
|
|
|
|
</table>
|
|
|
|
<p class=bar>
|
2012-02-07 23:37:28 +01:00
|
|
|
<a href="index.html">home</a> ·
|
|
|
|
<a href="index.html#download">download</a> ·
|
2004-12-13 07:26:01 +01:00
|
|
|
<a href="installation.html">installation</a> ·
|
2003-08-31 03:00:15 +02:00
|
|
|
<a href="introduction.html">introduction</a> ·
|
|
|
|
<a href="reference.html">reference</a>
|
|
|
|
</p>
|
|
|
|
</center>
|
|
|
|
<hr>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- reference +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
|
|
|
|
<h2>Reference</h2>
|
|
|
|
|
2004-01-24 03:47:24 +01:00
|
|
|
<blockquote>
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="dns.html">DNS (in socket)</a>
|
2004-01-24 03:47:24 +01:00
|
|
|
<blockquote>
|
2011-10-06 20:52:52 +02:00
|
|
|
<a href="dns.html#gethostname">gethostname</a>,
|
2004-01-24 03:47:24 +01:00
|
|
|
<a href="dns.html#tohostname">tohostname</a>,
|
2011-10-06 20:52:52 +02:00
|
|
|
<a href="dns.html#toip">toip</a>.
|
2004-01-24 03:47:24 +01:00
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<!-- ftp ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
|
|
|
|
<blockquote>
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="ftp.html">FTP</a>
|
2004-01-24 03:47:24 +01:00
|
|
|
<blockquote>
|
|
|
|
<a href="ftp.html#get">get</a>,
|
2004-06-17 01:21:49 +02:00
|
|
|
<a href="ftp.html#put">put</a>.
|
2004-01-24 03:47:24 +01:00
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<!-- http +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
|
|
|
|
<blockquote>
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="http.html">HTTP</a>
|
2004-01-24 03:47:24 +01:00
|
|
|
<blockquote>
|
2004-05-25 08:51:43 +02:00
|
|
|
<a href="http.html#request">request</a>.
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<!-- ltn12 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
|
|
|
|
<blockquote>
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="ltn12.html">LTN12</a>
|
2004-05-25 08:51:43 +02:00
|
|
|
<blockquote>
|
|
|
|
<a href="ltn12.html#filter">filter</a>:
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="ltn12.html#filter.chain">chain</a>,
|
|
|
|
<a href="ltn12.html#filter.cycle">cycle</a>.
|
2004-05-25 08:51:43 +02:00
|
|
|
</blockquote>
|
|
|
|
<blockquote>
|
|
|
|
<a href="ltn12.html#pump">pump</a>:
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="ltn12.html#pump.all">all</a>,
|
|
|
|
<a href="ltn12.html#pump.step">step</a>.
|
2004-05-25 08:51:43 +02:00
|
|
|
</blockquote>
|
|
|
|
<blockquote>
|
|
|
|
<a href="ltn12.html#sink">sink</a>:
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="ltn12.html#sink.chain">chain</a>,
|
|
|
|
<a href="ltn12.html#sink.error">error</a>,
|
|
|
|
<a href="ltn12.html#sink.file">file</a>,
|
|
|
|
<a href="ltn12.html#sink.null">null</a>,
|
|
|
|
<a href="ltn12.html#sink.simplify">simplify</a>,
|
|
|
|
<a href="ltn12.html#sink.table">table</a>.
|
2004-05-25 08:51:43 +02:00
|
|
|
</blockquote>
|
|
|
|
<blockquote>
|
|
|
|
<a href="ltn12.html#source">source</a>:
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="ltn12.html#source.cat">cat</a>,
|
|
|
|
<a href="ltn12.html#source.chain">chain</a>,
|
|
|
|
<a href="ltn12.html#source.empty">empty</a>,
|
|
|
|
<a href="ltn12.html#source.error">error</a>,
|
|
|
|
<a href="ltn12.html#source.file">file</a>,
|
|
|
|
<a href="ltn12.html#source.simplify">simplify</a>,
|
|
|
|
<a href="ltn12.html#source.string">string</a>.
|
2004-01-24 03:47:24 +01:00
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<!-- mime +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
|
|
|
|
<blockquote>
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="mime.html">MIME</a>
|
2004-01-24 03:47:24 +01:00
|
|
|
<blockquote>
|
2004-02-04 15:29:11 +01:00
|
|
|
<a href="mime.html#high">high-level</a>:
|
2004-01-24 03:47:24 +01:00
|
|
|
<a href="mime.html#decode">decode</a>,
|
|
|
|
<a href="mime.html#encode">encode</a>,
|
2011-10-06 20:52:52 +02:00
|
|
|
<a href="mime.html#normalize">normalize</a>,
|
2004-06-17 09:00:43 +02:00
|
|
|
<a href="mime.html#stuff">stuff</a>,
|
2004-01-24 03:47:24 +01:00
|
|
|
<a href="mime.html#wrap">wrap</a>.
|
|
|
|
</blockquote>
|
|
|
|
<blockquote>
|
2004-02-04 15:29:11 +01:00
|
|
|
<a href="mime.html#low">low-level</a>:
|
2004-01-24 03:47:24 +01:00
|
|
|
<a href="mime.html#b64">b64</a>,
|
2004-06-17 09:00:43 +02:00
|
|
|
<a href="mime.html#dot">dot</a>,
|
2004-01-24 03:47:24 +01:00
|
|
|
<a href="mime.html#eol">eol</a>,
|
|
|
|
<a href="mime.html#qp">qp</a>,
|
2011-10-06 20:52:52 +02:00
|
|
|
<a href="mime.html#qpwrp">qpwrp</a>,
|
2004-06-17 09:00:43 +02:00
|
|
|
<a href="mime.html#unb64">unb64</a>,
|
|
|
|
<a href="mime.html#unqp">unqp</a>,
|
2011-10-06 20:52:52 +02:00
|
|
|
<a href="mime.html#wrp">wrp</a>.
|
2004-01-24 03:47:24 +01:00
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<!-- smtp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
|
|
|
|
<blockquote>
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="smtp.html">SMTP</a>
|
2004-01-24 03:47:24 +01:00
|
|
|
<blockquote>
|
2004-05-25 08:51:43 +02:00
|
|
|
<a href="smtp.html#message">message</a>,
|
|
|
|
<a href="smtp.html#send">send</a>.
|
2004-01-24 03:47:24 +01:00
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
2003-08-31 03:00:15 +02:00
|
|
|
|
2004-05-26 06:58:32 +02:00
|
|
|
<!-- socket +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
|
|
|
|
<blockquote>
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="socket.html">Socket</a>
|
2004-05-26 06:58:32 +02:00
|
|
|
<blockquote>
|
2011-10-06 20:52:52 +02:00
|
|
|
<a href="socket.html#bind">bind</a>,
|
|
|
|
<a href="socket.html#connect">connect</a>,
|
2005-08-12 07:56:32 +02:00
|
|
|
<a href="socket.html#debug">_DEBUG</a>,
|
2004-05-26 06:58:32 +02:00
|
|
|
<a href="dns.html#dns">dns</a>,
|
2004-06-21 00:19:54 +02:00
|
|
|
<a href="socket.html#gettime">gettime</a>,
|
2004-06-18 23:41:51 +02:00
|
|
|
<a href="socket.html#newtry">newtry</a>,
|
2004-05-26 06:58:32 +02:00
|
|
|
<a href="socket.html#protect">protect</a>,
|
|
|
|
<a href="socket.html#select">select</a>,
|
|
|
|
<a href="socket.html#sink">sink</a>,
|
2004-06-18 10:02:09 +02:00
|
|
|
<a href="socket.html#skip">skip</a>,
|
2004-05-26 06:58:32 +02:00
|
|
|
<a href="socket.html#sleep">sleep</a>,
|
2004-06-18 10:02:09 +02:00
|
|
|
<a href="socket.html#source">source</a>,
|
2004-05-26 06:58:32 +02:00
|
|
|
<a href="tcp.html#tcp">tcp</a>,
|
|
|
|
<a href="socket.html#try">try</a>,
|
|
|
|
<a href="udp.html#udp">udp</a>,
|
2005-08-12 07:56:32 +02:00
|
|
|
<a href="socket.html#version">_VERSION</a>.
|
2004-05-26 06:58:32 +02:00
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
|
2004-01-24 03:47:24 +01:00
|
|
|
<!-- tcp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
2003-08-31 03:00:15 +02:00
|
|
|
|
2004-01-24 03:47:24 +01:00
|
|
|
<blockquote>
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="tcp.html">TCP (in socket)</a>
|
2004-01-24 03:47:24 +01:00
|
|
|
<blockquote>
|
|
|
|
<a href="tcp.html#accept">accept</a>,
|
|
|
|
<a href="tcp.html#bind">bind</a>,
|
|
|
|
<a href="tcp.html#close">close</a>,
|
|
|
|
<a href="tcp.html#connect">connect</a>,
|
2011-10-24 20:24:58 +02:00
|
|
|
<a href="tcp.html#dirty">dirty</a>,
|
|
|
|
<a href="tcp.html#getfd">getfd</a>,
|
2012-02-27 22:26:23 +01:00
|
|
|
<a href="tcp.html#getoption">getoption</a>,
|
2004-01-24 03:47:24 +01:00
|
|
|
<a href="tcp.html#getpeername">getpeername</a>,
|
|
|
|
<a href="tcp.html#getsockname">getsockname</a>,
|
2004-07-03 01:31:39 +02:00
|
|
|
<a href="tcp.html#getstats">getstats</a>,
|
2011-10-06 20:52:52 +02:00
|
|
|
<a href="tcp.html#listen">listen</a>,
|
2004-01-24 03:47:24 +01:00
|
|
|
<a href="tcp.html#receive">receive</a>,
|
|
|
|
<a href="tcp.html#send">send</a>,
|
2011-10-24 20:24:58 +02:00
|
|
|
<a href="tcp.html#setfd">setfd</a>,
|
2004-01-24 03:47:24 +01:00
|
|
|
<a href="tcp.html#setoption">setoption</a>,
|
2004-10-13 00:35:37 +02:00
|
|
|
<a href="tcp.html#setstats">setstats</a>,
|
2004-01-24 03:47:24 +01:00
|
|
|
<a href="tcp.html#settimeout">settimeout</a>,
|
|
|
|
<a href="tcp.html#shutdown">shutdown</a>.
|
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
2003-08-31 03:00:15 +02:00
|
|
|
|
2004-01-24 03:47:24 +01:00
|
|
|
<!-- udp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
2003-08-31 03:00:15 +02:00
|
|
|
|
2004-01-24 03:47:24 +01:00
|
|
|
<blockquote>
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="udp.html">UDP (in socket)</a>
|
2004-01-24 03:47:24 +01:00
|
|
|
<blockquote>
|
|
|
|
<a href="udp.html#close">close</a>,
|
|
|
|
<a href="udp.html#getpeername">getpeername</a>,
|
|
|
|
<a href="udp.html#getsockname">getsockname</a>,
|
|
|
|
<a href="udp.html#receive">receive</a>,
|
|
|
|
<a href="udp.html#receivefrom">receivefrom</a>,
|
|
|
|
<a href="udp.html#send">send</a>,
|
|
|
|
<a href="udp.html#sendto">sendto</a>,
|
|
|
|
<a href="udp.html#setpeername">setpeername</a>,
|
|
|
|
<a href="udp.html#setsockname">setsockname</a>,
|
|
|
|
<a href="udp.html#setoption">setoption</a>,
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="udp.html#settimeout">settimeout</a>.
|
2004-01-24 03:47:24 +01:00
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
<!-- url ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
|
|
|
|
<blockquote>
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="url.html">URL</a>
|
2004-01-24 03:47:24 +01:00
|
|
|
<blockquote>
|
|
|
|
<a href="url.html#absolute">absolute</a>,
|
|
|
|
<a href="url.html#build">build</a>,
|
|
|
|
<a href="url.html#build_path">build_path</a>,
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="url.html#escape">escape</a>,
|
2004-01-24 03:47:24 +01:00
|
|
|
<a href="url.html#parse">parse</a>,
|
|
|
|
<a href="url.html#parse_path">parse_path</a>,
|
2004-06-15 08:24:00 +02:00
|
|
|
<a href="url.html#unescape">unescape</a>.
|
2004-01-24 03:47:24 +01:00
|
|
|
</blockquote>
|
|
|
|
</blockquote>
|
2003-08-31 03:00:15 +02:00
|
|
|
|
|
|
|
<!-- footer ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
|
|
|
|
<div class=footer>
|
|
|
|
<hr>
|
|
|
|
<center>
|
|
|
|
<p class=bar>
|
2012-02-07 23:37:28 +01:00
|
|
|
<a href="index.html">home</a> ·
|
|
|
|
<a href="index.html#down">download</a> ·
|
2004-12-13 07:26:01 +01:00
|
|
|
<a href="installation.html">installation</a> ·
|
2003-08-31 03:00:15 +02:00
|
|
|
<a href="introduction.html">introduction</a> ·
|
|
|
|
<a href="reference.html">reference</a>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<small>
|
|
|
|
Last modified by Diego Nehab on <br>
|
2006-04-20 06:27:13 +02:00
|
|
|
Thu Apr 20 00:25:47 EDT 2006
|
2003-08-31 03:00:15 +02:00
|
|
|
</small>
|
|
|
|
</p>
|
|
|
|
</center>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|