Network API - listeners etc

Am I correct in thinking that there is no way to create a non-blocking listener using the provided network API?
matt. [import]uid: 8271 topic_id: 1861 reply_id: 301861[/import]

The low level lua socket calls can be used in a coroutine, but the higher level http/ftp/smtp apis can not currently be used asynchronously. [import]uid: 3 topic_id: 1861 reply_id: 5491[/import]

Would anyone have an example of this, please? I can only seem to find high level blocking code samples… [import]uid: 8271 topic_id: 1861 reply_id: 5510[/import]

A Lua coroutine is generally not running asynchrously. The advantage of using coroutines in Lua against a normal function is that you can jump out of it at one point, and return back to this point at will. [import]uid: 5712 topic_id: 1861 reply_id: 5513[/import]

While I’m googling… Is there a good resource you might have for “asynchronous” lua? [import]uid: 8271 topic_id: 1861 reply_id: 5515[/import]

This search seemed to bring up a good list of coroutines: http://www.google.co.jp/search?client=safari&rls=en&q=lua+coroutines&ie=UTF-8&oe=UTF-8&redir_esc=&ei=kYuBTPeuL4PKvQPgodmTBA [import]uid: 295 topic_id: 1861 reply_id: 5578[/import]