[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Frontend for a distributed IP multicast program



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

> the signal handling function; the net effect being that the program
would
> thus check the socket once per second.)

If you read the socket with a non-blocking read, you could use
gtk_timeout_add() to have the gtk_main() loop run a specific callback
once a second (if, however, you use a blocking read and there is no
data waiting you will probably lock up the GUI until some data
appears).

- ---
 _____ _         _       _____
| __  | |___ ___| |_ ___|   __|_ _ ___        Chris "Ng" Jones
| __ -| | .'|  _| '_|___|__   | | |   |  chris@black-sun.co.uk
|_____|_|__,|___|_,_|   |_____|___|_|_|    www.black-sun.co.uk
            S o f t w a r e

 "Linux is beating Windows" - David Cole, Microsoft Executive

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>

iQA/AwUBOA0bEphmBipjerS3EQKfPgCgz/XBxwioyi36K3x04HZrggyNc8gAoP5+
cYqsSIDVxR2KyexFCct4u4jQ
=LlnF
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]