Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] dns client
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] dns client
On Thu, Sep 25, 2003 at 08:17:08PM +0400, Anastasia Gornostaeva wrote:
> Well, it is an interesting solution. but what about portability?
> I saw, Erlang/OTP has more nice solution - a module inet_res that allows some
> kinda of my requests above.

Well there are two issues here: how much portability do _you_ need?
and how portable would bindings to a C library be?

If you specifically need this to work on multiple (Unix + non-Unix)
systems, then using open_process_in/popen wouldn't be the way to
go. However I cannot answer that question, only you can.

Would C bindings to the bind resolver library be any more portable I
wonder? (Actually I don't have the faintest clue whether this library
is available on Windows).

A pure OCaml resolver library would be a massive chunk of work, and
pretty pointless to boot.


Richard Jones.
Merjis Ltd. - all your business data are belong to you.
MONOLITH is an advanced framework for writing web applications in C, easier
than using Perl & Java, much faster and smaller, reusable widget-based arch,
database-backed, discussion, chat, calendaring:

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: