Roger Pack
2008-Jan-15 08:05 UTC
[Eventmachine-talk] Eventmachine-talk Digest, Vol 21, Issue 21
> Yes that will work, but really I wanted to show: > - The client tells the sever to shutdown. > - In response, the server tells the client to shutdown, then the > server shuts down. > - The client shuts down when told to by the server.In retrospect you should define unbind, then have unbind call EM::stop :) Forgot about that one. I also might suggest having it all as one file with an "if ARGV[0] =''client'' " or what not.> One of these days, we''ll just do it right and use IOCP on Windows. It''s a > rewrite of the reactor core but there are worse things in the world. The > reason I didn''t complete it the last time I tried is because the Win32 API > for nonblocking IO isn''t complete on all versions of Windows. You don''t get > all the features unless you''re on XP or Vista. This is quite a problem if > you use W2K or Server 2003, as many shops still do.Sounds good. I might help if I ever move back to developing on windows again Thanks all! -- Wherefore if ye shall press forward, feasting upon the word of Christ, and endure to the end, behold thus saith the Father: ye shall have eternal life. - 2 Nephi 31:20