mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 20:38:22 +01:00
262 lines
7.7 KiB
HTML
262 lines
7.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
|
|
<head>
|
|
<meta name="description" content="LuaSocket: Index to reference manual">
|
|
<meta name="keywords" content="Lua, LuaSocket, Index, Manual, Network, Library,
|
|
Support, Manual">
|
|
<title>LuaSocket: Index to reference manual</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 width="128" height="128" 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="index.html">home</a> ·
|
|
<a href="index.html#download">download</a> ·
|
|
<a href="installation.html">installation</a> ·
|
|
<a href="introduction.html">introduction</a> ·
|
|
<a href="reference.html">reference</a>
|
|
</p>
|
|
</center>
|
|
<hr>
|
|
</div>
|
|
|
|
<!-- reference +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<h2>Reference</h2>
|
|
|
|
<blockquote>
|
|
<a href="dns.html">DNS (in socket)</a>
|
|
<blockquote>
|
|
<a href="dns.html#getaddrinfo">getaddrinfo</a>,
|
|
<a href="dns.html#gethostname">gethostname</a>,
|
|
<a href="dns.html#tohostname">tohostname</a>,
|
|
<a href="dns.html#toip">toip</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- ftp ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="ftp.html">FTP</a>
|
|
<blockquote>
|
|
<a href="ftp.html#get">get</a>,
|
|
<a href="ftp.html#put">put</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- http +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="http.html">HTTP</a>
|
|
<blockquote>
|
|
<a href="http.html#request">request</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- ltn12 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="ltn12.html">LTN12</a>
|
|
<blockquote>
|
|
<a href="ltn12.html#filter">filter</a>:
|
|
<a href="ltn12.html#filter.chain">chain</a>,
|
|
<a href="ltn12.html#filter.cycle">cycle</a>.
|
|
</blockquote>
|
|
<blockquote>
|
|
<a href="ltn12.html#pump">pump</a>:
|
|
<a href="ltn12.html#pump.all">all</a>,
|
|
<a href="ltn12.html#pump.step">step</a>.
|
|
</blockquote>
|
|
<blockquote>
|
|
<a href="ltn12.html#sink">sink</a>:
|
|
<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>.
|
|
</blockquote>
|
|
<blockquote>
|
|
<a href="ltn12.html#source">source</a>:
|
|
<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>,
|
|
<a href="ltn12.html#source.table">table</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- mime +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="mime.html">MIME</a>
|
|
<blockquote>
|
|
<a href="mime.html#high">high-level</a>:
|
|
<a href="mime.html#decode">decode</a>,
|
|
<a href="mime.html#encode">encode</a>,
|
|
<a href="mime.html#normalize">normalize</a>,
|
|
<a href="mime.html#stuff">stuff</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#dot">dot</a>,
|
|
<a href="mime.html#eol">eol</a>,
|
|
<a href="mime.html#qp">qp</a>,
|
|
<a href="mime.html#qpwrp">qpwrp</a>,
|
|
<a href="mime.html#unb64">unb64</a>,
|
|
<a href="mime.html#unqp">unqp</a>,
|
|
<a href="mime.html#wrp">wrp</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- smtp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="smtp.html">SMTP</a>
|
|
<blockquote>
|
|
<a href="smtp.html#message">message</a>,
|
|
<a href="smtp.html#send">send</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- socket +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="socket.html">Socket</a>
|
|
<blockquote>
|
|
<a href="socket.html#bind">bind</a>,
|
|
<a href="socket.html#connect">connect</a>,
|
|
<a href="socket.html#connect">connect4</a>,
|
|
<a href="socket.html#connect">connect6</a>,
|
|
<a href="socket.html#datagramsize">_DATAGRAMSIZE</a>,
|
|
<a href="socket.html#debug">_DEBUG</a>,
|
|
<a href="dns.html#dns">dns</a>,
|
|
<a href="socket.html#gettime">gettime</a>,
|
|
<a href="socket.html#headers.canonic">headers.canonic</a>,
|
|
<a href="socket.html#newtry">newtry</a>,
|
|
<a href="socket.html#protect">protect</a>,
|
|
<a href="socket.html#select">select</a>,
|
|
<a href="socket.html#sink">sink</a>,
|
|
<a href="socket.html#skip">skip</a>,
|
|
<a href="socket.html#sleep">sleep</a>,
|
|
<a href="socket.html#setsize">_SETSIZE</a>,
|
|
<a href="socket.html#socketinvalid">_SOCKETINVALID</a>,
|
|
<a href="socket.html#source">source</a>,
|
|
<a href="tcp.html#socket.tcp">tcp</a>,
|
|
<a href="tcp.html#socket.tcp4">tcp4</a>,
|
|
<a href="tcp.html#socket.tcp6">tcp6</a>,
|
|
<a href="socket.html#try">try</a>,
|
|
<a href="udp.html#socket.udp">udp</a>,
|
|
<a href="udp.html#socket.udp4">udp4</a>,
|
|
<a href="udp.html#socket.udp6">udp6</a>,
|
|
<a href="socket.html#version">_VERSION</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- tcp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="tcp.html">TCP (in socket)</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#dirty">dirty</a>,
|
|
<a href="tcp.html#getfd">getfd</a>,
|
|
<a href="tcp.html#getoption">getoption</a>,
|
|
<a href="tcp.html#getpeername">getpeername</a>,
|
|
<a href="tcp.html#getsockname">getsockname</a>,
|
|
<a href="tcp.html#getstats">getstats</a>,
|
|
<a href="tcp.html#gettimeout">gettimeout</a>,
|
|
<a href="tcp.html#listen">listen</a>,
|
|
<a href="tcp.html#receive">receive</a>,
|
|
<a href="tcp.html#send">send</a>,
|
|
<a href="tcp.html#setfd">setfd</a>,
|
|
<a href="tcp.html#setoption">setoption</a>,
|
|
<a href="tcp.html#setstats">setstats</a>,
|
|
<a href="tcp.html#settimeout">settimeout</a>,
|
|
<a href="tcp.html#shutdown">shutdown</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- udp +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="udp.html">UDP (in socket)</a>
|
|
<blockquote>
|
|
<a href="udp.html#close">close</a>,
|
|
<a href="udp.html#getoption">getoption</a>,
|
|
<a href="udp.html#getpeername">getpeername</a>,
|
|
<a href="udp.html#getsockname">getsockname</a>,
|
|
<a href="udp.html#gettimeout">gettimeout</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>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- url ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<blockquote>
|
|
<a href="url.html">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#escape">escape</a>,
|
|
<a href="url.html#parse">parse</a>,
|
|
<a href="url.html#parse_path">parse_path</a>,
|
|
<a href="url.html#unescape">unescape</a>.
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
<!-- footer ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
|
<div class="footer">
|
|
<hr>
|
|
<center>
|
|
<p class="bar">
|
|
<a href="index.html">home</a> ·
|
|
<a href="index.html#down">download</a> ·
|
|
<a href="installation.html">installation</a> ·
|
|
<a href="introduction.html">introduction</a> ·
|
|
<a href="reference.html">reference</a>
|
|
</p>
|
|
<p>
|
|
<small>
|
|
Last modified by Diego Nehab on <br>
|
|
Thu Apr 20 00:25:47 EDT 2006
|
|
</small>
|
|
</p>
|
|
</center>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|