lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Is this what you need:
status, err = so:connect(ip,port)
so:setoption('keepalive', true)

?

On Wed, Jul 7, 2010 at 5:46 PM, Diego Nehab <diego@tecgraf.puc-rio.br> wrote:

> LuaSocket does not support persistent connections. I don't know
> anything about XML-RPC, but the specification doesn't seem to include
> any objections to non-persistent connections. Is there any way I could
> test this locally?
>