From: yoann padioleau <padator@wanadoo.fr>
To: "Ivan Matveich" <ivan.matveich@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] lablgtk2: receiving messages from network?
Date: Sat, 15 Apr 2006 21:45:43 +0200 [thread overview]
Message-ID: <159D59CA-487C-429F-AE37-6FF5BDB06A53@wanadoo.fr> (raw)
In-Reply-To: <b5def3a40604151233q774da2d8q403d6048c861c006@mail.gmail.com>
On 15 avr. 06, at 21:33, Ivan Matveich wrote:
> Dear ocaml users,
>
> I'm writing a gtk program that must receive data through a tcp
> connection and react to it immediately.
>
> What's the best way to implement this?
> Can gtk call me back when data is available on a socket?
> How do I use Marshal without blocking?
I think that threads can be used for that kind of problem.
Welcome to the world of concurrency ...
>
> Thank you.
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
next prev parent reply other threads:[~2006-04-15 19:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-15 19:33 Ivan Matveich
2006-04-15 19:45 ` yoann padioleau [this message]
2006-04-15 20:10 ` [Caml-list] " Markus Mottl
2006-04-15 20:58 ` Eric Cooper
2006-04-15 22:54 ` Remi Vanicat
2006-04-16 22:28 ` Ivan Matveich
2006-04-16 23:45 ` Jacques Garrigue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=159D59CA-487C-429F-AE37-6FF5BDB06A53@wanadoo.fr \
--to=padator@wanadoo.fr \
--cc=caml-list@yquem.inria.fr \
--cc=ivan.matveich@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).