in reply to Tk fileevent with win32 sockets
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk fileevent with win32 sockets
by massimo (Initiate) on Aug 17, 2004 at 07:59 UTC |