Browse thread
Help interfacing with C
[
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: | -- (:) |
| From: | Richard Jones <rich@a...> |
| Subject: | Re: [Caml-list] Re: Help interfacing with C |
On Fri, Aug 18, 2006 at 02:33:23PM -0700, Nathaniel Gray wrote: > Thanks, but this doesn't really help. Perhaps I should say what I'm > trying to accomplish instead of trying to let the types speak for me. > The point is that when you select on a list of file descriptors > there's a very good chance that you don't *only* care that file > descriptor f is ready, you also have some ocaml data structure > associated with f that you want to use with it in some way. For > example, you probably have a string to write or a buffer to read into. It sounds also like you shouldn't use select at all, but consider some of the more modern alternatives. Here is a good place to start: http://www.kegel.com/c10k.html#nb.select Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com