in reply to
Building a Chat client using POE
I believe that you should take away this line:
Gtk2->main;
It is called while the POE loop is running.
I think that might lock you into the main Gtk2 loop, where
$poe_kernel->run();
handles both Gtk2 and POE events.
Comment on
Re: Building a Chat client using POE
Select
or
Download
Code
Replies are listed 'Best First'.
Re^2: Building a Chat client using POE
by
deadpickle
(Pilgrim)
on Jan 07, 2008 at 02:09 UTC
I removed the
Gtk2->main;
section of code from the loop. The program still runs but will not post the "Connected" text. Can POE run threads?
[reply]
[d/l]
Re^3: Building a Chat client using POE
by
Snarius
(Sexton)
on Jan 07, 2008 at 03:19 UTC
I remember reading about this: No threads. Supposedly POE supports concurrency, but only in the form of processes.
[reply]
In Section
Seekers of Perl Wisdom