[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Break out of program in interpreter
- From: Jose Torre-Bueno <jtorrebueno@...>
- Date: Thu, 30 May 2013 02:32:52 -0700
On May 14, 2013, at 10:05 AM, Daurnimator <quae@daurnimator.com> wrote:
> On 14 May 2013 12:03, Thijs Schreijer <thijs@thijsschreijer.nl> wrote:
>> Obviously better than my script using a fake socket timeout. Dunno how I missed that...
>>
>
> Even if you didn't have sleep. You can just use select with empty sets :)
>
> require "socket".select(nil,nil,0.5)
>
Am I correct that there is no version of lua socket for 5.2?
Jose Torre-Bueno
jtorrebueno@cox.net