[Win32utils-devel] Pure Ruby TCP Daemon

Daniel Berger djberg96 at gmail.com
Mon Aug 22 23:05:27 EDT 2011


On Mon, Aug 22, 2011 at 2:34 PM, Daniel Berger <djberg96 at gmail.com> wrote:
> On Mon, Aug 22, 2011 at 12:16 PM, Daniel Berger <djberg96 at gmail.com> wrote:
>> Hi all,
>>
>> I created a "pure" branch on github that uses the code Heesob posted a while
>> back:
>>
>> http://rubyforge.org/pipermail/win32utils-devel/2008-November/001274.html
>>
>> However, I couldn't make it work on my Vista laptop.
>>
>> c:\Users\djberge\Repositories\win32-service\examples>ruby demo_daemon_ctl.rb
>> start
>> VERSION: 0.8.0
>> C:/Ruby187/lib/ruby/gems/1.8/gems/win32-service-0.8.0/lib/win32/service.rb:7
>> 53:in `start': The servi
>> ce did not respond to the start or control request in a timely fashion.
>> (Win32::Service::Error)
>>        from demo_daemon_ctl.rb:68
>
> Same result with this code:
> http://rubyforge.org/pipermail/win32utils-devel/2008-November/001266.html

Some debugging indicates that it's hanging on this line:

WaitForSingleObject(@arg_event, INFINITE)

I haven't figured out why yet, though.

Regards,

Dan


More information about the win32utils-devel mailing list