lua-users home
lua-l archive

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


Hi guys,

Copas is a wonderful way to make little servers.  But now I want to
add a CLI interface, and the only way I can think of is writing an
extension which connects to a Copas server and reads stdin (or any
file handle, e.g a pipe) in a separate thread, writing any text read
to the server.

This is awkward, and I was wondering if there isn't some socket
science exposed by LuaSocket which can help here.

steve d.