English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
lablgtk2: receiving messages from network?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-04-15 (22:54)
From: Remi Vanicat <remi.vanicat@g...>
Subject: Re: [Caml-list] lablgtk2: receiving messages from network?
2006/4/15, Ivan Matveich <ivan.matveich@gmail.com>:
> Dear ocaml users,
> I'm writing a gtk program that must receive data through a tcp
> connection and react to it immediately.

As someone already tell you, you could use the Glib.IO interface.
There is also equeue of Gerd Stolpman that is integrated with the Gtk
main loop, see

(Sory for sending you this twice, the first time I forget to send it
on the list).