mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-19 11:48:21 +01:00
390846b640
Still crashes on invalid input. Dunno why.
232 lines
6.4 KiB
HTML
232 lines
6.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
|
|
<head>
|
|
<title>LuaSocket: Network support for the Lua language </title>
|
|
<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">
|
|
<img border=0 alt="LuaSocket" src="luasocket.png">
|
|
</a></td></tr>
|
|
<tr><td align=center valign=top>Network support for the Lua language
|
|
</td></tr>
|
|
</table>
|
|
<p class=bar>
|
|
<a href="home.html">home</a> ·
|
|
<a href="home.html#download">download</a> ·
|
|
<a href="introduction.html">introduction</a> ·
|
|
<a href="reference.html">reference</a>
|
|
</p>
|
|
</center>
|
|
<hr>
|
|
</div>
|
|
|
|
<!-- reference +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<h2>Reference</h2>
|
|
|
|
<!-- callback +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="callback.html">Callbacks (socket.callback)</a>
|
|
<blockquote>
|
|
<a href="callback.html#done">done</a>,
|
|
<a href="callback.html#fail">fail</a>.
|
|
</blockquote>
|
|
<blockquote>
|
|
<a href="callback.html#send">send</a>:
|
|
<a href="callback.html#send.chain">chain</a>,
|
|
<a href="callback.html#send.file">file</a>,
|
|
<a href="callback.html#send.string">string</a>.
|
|
</blockquote>
|
|
<blockquote>
|
|
<a href="callback.html#receive">receive</a>:
|
|
<a href="callback.html#receive.chain">chain</a>,
|
|
<a href="callback.html#receive.file">file</a>,
|
|
<a href="callback.html#receive.concat">concat</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
</table>
|
|
|
|
<!-- dns ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="dns.html">DNS services (socket.dns)</a>
|
|
<blockquote>
|
|
<a href="dns.html#toip">toip</a>,
|
|
<a href="dns.html#tohostname">tohostname</a>,
|
|
<a href="dns.html#gethostname">gethostname</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- ftp ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="ftp.html">FTP (socket.ftp)</a>
|
|
<blockquote>
|
|
<a href="ftp.html#get">get</a>,
|
|
<a href="ftp.html#get_cb">get_cb</a>,
|
|
<a href="ftp.html#put">put</a>,
|
|
<a href="ftp.html#put_cb">put_cb</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- misc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="global.html">Globals (socket)</a>
|
|
<blockquote>
|
|
<a href="global.html#bind">bind</a>,
|
|
<a href="global.html#callback">callback</a>,
|
|
<a href="global.html#concat">concat</a>,
|
|
<a href="global.html#connect">connect</a>,
|
|
<a href="global.html#debug">debug</a>,
|
|
<a href="global.html#dns">dns</a>,
|
|
<a href="global.html#ftp">ftp</a>,
|
|
<a href="global.html#http">http</a>,
|
|
<a href="global.html#mime">mime</a>,
|
|
<a href="global.html#select">select</a>,
|
|
<a href="global.html#sleep">sleep</a>,
|
|
<a href="global.html#smtp">smtp</a>,
|
|
<a href="global.html#time">time</a>,
|
|
<a href="global.html#tcp">tcp</a>.
|
|
<a href="global.html#udp">udp</a>,
|
|
<a href="global.html#url">url</a>,
|
|
<a href="global.html#version">version</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
</table>
|
|
|
|
|
|
<!-- http +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="http.html">HTTP (socket.http)</a>
|
|
<blockquote>
|
|
<a href="http.html#get">get</a>,
|
|
<a href="http.html#post">post</a>,
|
|
<a href="http.html#request">request</a>,
|
|
<a href="http.html#request_cb">request_cb</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- mime +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="mime.html">MIME (socket.mime) </a>
|
|
<blockquote>
|
|
<a href="mime.html#high">high-level</a>:
|
|
<a href="mime.html#normalize">normalize</a>,
|
|
<a href="mime.html#chain">chain</a>,
|
|
<a href="mime.html#decode">decode</a>,
|
|
<a href="mime.html#encode">encode</a>,
|
|
<a href="mime.html#wrap">wrap</a>.
|
|
</blockquote>
|
|
<blockquote>
|
|
<a href="mime.html#low">low-level</a>:
|
|
<a href="mime.html#b64">b64</a>,
|
|
<a href="mime.html#unb64">unb64</a>,
|
|
<a href="mime.html#eol">eol</a>,
|
|
<a href="mime.html#qp">qp</a>,
|
|
<a href="mime.html#unqp">unqp</a>,
|
|
<a href="mime.html#wrp">wrp</a>,
|
|
<a href="mime.html#qpwrp">qpwrp</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- smtp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="smtp.html">SMTP (socket.smtp)</a>
|
|
<blockquote>
|
|
<a href="smtp.html#mail">mail</a>
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- tcp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="tcp.html">TCP (socket.tcp)</a>
|
|
<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>,
|
|
<a href="tcp.html#getpeername">getpeername</a>,
|
|
<a href="tcp.html#getsockname">getsockname</a>,
|
|
<a href="tcp.html#receive">receive</a>,
|
|
<a href="tcp.html#send">send</a>,
|
|
<a href="tcp.html#setoption">setoption</a>,
|
|
<a href="tcp.html#settimeout">settimeout</a>,
|
|
<a href="tcp.html#shutdown">shutdown</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- udp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="udp.html">UDP (socket.udp)</a>
|
|
<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>,
|
|
<a href="udp.html#settimeout">settimeout</a>,
|
|
<a href="udp.html#settimeout">shutdown</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- url ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="url.html">URL (socket.url) </a>
|
|
<blockquote>
|
|
<a href="url.html#absolute">absolute</a>,
|
|
<a href="url.html#build">build</a>,
|
|
<a href="url.html#build_path">build_path</a>,
|
|
<a href="url.html#quote">quote</a>,
|
|
<a href="url.html#parse">parse</a>,
|
|
<a href="url.html#parse_path">parse_path</a>,
|
|
<a href="url.html#quote">unquote</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- footer ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<div class=footer>
|
|
<hr>
|
|
<center>
|
|
<p class=bar>
|
|
<a href="home.html">home</a> ·
|
|
<a href="home.html#down">download</a> ·
|
|
<a href="introduction.html">introduction</a> ·
|
|
<a href="reference.html">reference</a>
|
|
</p>
|
|
<p>
|
|
<small>
|
|
Last modified by Diego Nehab on <br>
|
|
Thu Sep 27 16:18:27 EST 2001
|
|
</small>
|
|
</p>
|
|
</center>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|