From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 4C1F6BB83 for ; Sun, 16 Apr 2006 00:54:51 +0200 (CEST) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.178]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k3FMsoWY020138 for ; Sun, 16 Apr 2006 00:54:50 +0200 Received: by pproxy.gmail.com with SMTP id b36so306302pyb for ; Sat, 15 Apr 2006 15:54:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HCTGxtKIEZsNW//qR1+8IJ3/SUUVknTmtkxwthWPWS2KtkVz72UMzqG+XsJR07ZFPCR7xVE0M3QDznG7DXkjZPUZtnzdG+nKv0AGTA2juoPhXXPNL3qcOpNGkjnAU9CMKF23iRYAeRGeJ1g+c6z2e8ZlIeaHsY/YVwkoh+3MbeA= Received: by 10.35.119.11 with SMTP id w11mr146874pym; Sat, 15 Apr 2006 15:54:49 -0700 (PDT) Received: by 10.35.38.8 with HTTP; Sat, 15 Apr 2006 15:54:49 -0700 (PDT) Message-ID: <6b8a91420604151554jb36f96aw789a8d42755c1add@mail.gmail.com> Date: Sun, 16 Apr 2006 00:54:49 +0200 From: "Remi Vanicat" To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] lablgtk2: receiving messages from network? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Miltered: at nez-perce with ID 444179BA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; lablgtk:01 ocaml:01 gtk:01 gerd:01 gtk:01 2006:98 15,:98 caml-list:01 remi:01 remi:01 vanicat:01 vanicat:01 data:02 programming:03 interface:05 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=RCVD_BY_IP, RCVD_IN_BL_SPAMCOP_NET autolearn=disabled version=3.0.3 2006/4/15, Ivan Matveich : > 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 http://www.ocaml-programming.de/programming/equeue.html (Sory for sending you this twice, the first time I forget to send it on the list).