Re: networkshit without fucking up the interface?
- From: Erik Mouw <J A K Mouw its tudelft nl>
- To: "Kent Nyberg (Telia)" <blurk telia com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: networkshit without fucking up the interface?
- Date: Sun, 16 Dec 2001 23:03:25 +0100
On Sun, Dec 16, 2001 at 06:32:42PM +0100, Kent Nyberg (Telia) wrote:
Is it possible to use alot of networkfunctions in a
C/Gtk+/Gnome program without making the interface unusable
when the network-functions are running?
Yes. See Mozilla for an excellent example.
Like, i press a button to read alot of things from a tcp connection
but i still want the interafce to be usable.
I do recall reading that bad code can do this.. make the interace unusable.
Bad code can do anything.
Can some one tell me if im right or wrong.. ? :)
Maybe doing some kind of threading will help me?
I have never done threading so i dont realy know what to do :)
Threading is one way to do it. Another way is to use select() or
g_io_channels.
Erik
[back to kernel land]
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635
Fax: +31-15-2781843 Email: J A K Mouw its tudelft nl
WWW: http://www-ict.its.tudelft.nl/~erik/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]