Browse thread
lablgtk2: receiving messages from network?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-04-15 (20:10) |
From: | Markus Mottl <markus.mottl@g...> |
Subject: | Re: [Caml-list] lablgtk2: receiving messages from network? |
On 4/15/06, Ivan Matveich <ivan.matveich@gmail.com> wrote: > How do I use Marshal without blocking? You can set the socket options Unix.SO_RCVTIMEO and Unix.SO_SNDTIMEO using Unix.setsockopt_float, passing the number of seconds until timeout as argument. Regards, Markus -- Markus Mottl http://www.ocaml.info markus.mottl@gmail.com