In a recently developed program I ended up using a 'master' program to handle the GUI and its events, and a 'slave' program to handle all the socket-based IO (LWP::Useragent et. al. in this case). The two programs used Tie::Win32MemMap (and thus Win32::MemMap) to pass data back and forth.
The tkcomics example from O'Reilly's Mastering Perl/Tk shows a good example of this, and a good method of writing a multi-platform program that selects the use of filevents or Tie::Win32MemMap in a BEGIN block.
In reply to Re: Tk fileevent with win32 sockets
by keszler
in thread Tk fileevent with win32 sockets
by massimo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |