Re: redmond event loop

[email protected] (Steve Lidie)
Newsgroups perl.loop
Organization Lehigh University Computing Center
Message-ID <[email protected]>
Uri Guttman wrote:
> 
> >>>>> "NI" == Nick Ing-Simmons <[email protected]> writes:
> 
>   NI> Uri Guttman <[email protected]> writes:
> 
>   >> select on listen sockets is critical for event loops. i trust nick's
>   >> experience here.
> 
>   NI> _I_ don't. Older Tk's used select() 'cos the Win32 port was
>   NI> basically just a clone of the UNIX port. fileevent worked quite
>   NI> well. Then I switched in the "real" Tcl/Tk Win32 stuff (but minus
>   NI> Tcl_Channel) and things got worse. Since then I have been messing
>   NI> with it. I am more than willing to believe that using select()
>   NI> might work.
> 
> i like your self doubt! :)
> 
> if win32 select does work for listen and regular, would that make it
> easier to port event.pm and/or perl/tk events?
> 
> can someone get a definitive answer on this? i am now very curious as
> well as anxious to find out. :)

I know select() works for client-type sockets..... I just posted code
on c.l.p.tk.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.