re: Perl, GTK, Network
- From: "" <alas widomaker com>
- To: "" <gtk-perl-list gnome org>
- Subject: re: Perl, GTK, Network
- Date: Fri, 12 Dec 2003 11:37:23 -0500
You may wish to look into Glib::IO->add_watch.
integer = Glib::IO->add_watch ($fd, $condition, $callback, $data=undef,
Quoting Mark Lehrer <mark knm org>:
What is the best strategy for handling the network in Gtk? Is there a
way to attach some kind of gtk signal handler to incoming network
traffic, or is it better to use some kind of threading?
I basically need to have the Gtk part send outgoing messages, but I
also need to respond to incoming messages and update a label to show
the latest incoming message... fairly basic I guess.
] [Thread Prev