Re: redmond event loop
[email protected] (Steve Lidie)
| Newsgroups | perl.loop |
|---|---|
| Organization | Lehigh University Computing Center |
| Message-ID | <[email protected]> |
Nick Ing-Simmons wrote: > > Uri Guttman <[email protected]> writes: > >>>>>> "SL" == Steve Lidie <[email protected]> writes: > > > > SL> Nick Ing-Simmons wrote: > > >> > > >> Steve Lidie <[email protected]> writes: > > >> > > > >> >Preliminary testing shows that Perl's native select() works OK on Win32 > > >> >sockets. > > >> > > >> Hmm, even for listen sockets? > > > > SL> Now you've got me.... didn't try that. > > > >select on listen sockets is critical for event loops. i trust nick's > >experience here. > > _I_ don't. Older Tk's used select() 'cos the Win32 port was basically just > a clone of the UNIX port. fileevent worked quite well. Then I switched > in the "real" Tcl/Tk Win32 stuff (but minus Tcl_Channel) and things got > worse. Since then I have been messing with it. I am more than willing to > believe that using select() might work. > > >but try it out anyway. I'll have no win32 access time until this weekend at the earliest... but I'll see what I can discover.