[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ocaml-dns



On 18 Mar 2013, at 11:51, Anastasia Gornostaeva <ermine@xxxxxxxx> wrote:
> 
> 1) I dont know who installed dns by opam. I didnd issue command 'opam install 
> dns'
> It was installed by some depedency. I dont know -- there is no analogue of
> REQUIRED_BY feature from FreeBSD Packages.

Good point; there might be a way to do this already by inspecting the roots 
files
within ~/.opam, but I've created an issue to track the question:
https://github.com/OCamlPro/opam/issues/545

> 
> 2)
>> Anastasia, are you using Lwt in your code, or native Unix IO?  If the 
>> latter, we'll need to add a new backend for that (presumably using threads 
>> to block?)
> 
> I want to resolve SRV and TXT records in library that can use lwt (not link
> against lwt directly).
> But it isn't necessary to use threads when you need only select one host from 
> SRV
> record, connect to and live in that connection up to death.
> Mu library is http://github.com/ermine/xmpp :-)

Ok, so you want to do blocking UNIX I/O for DNS.  That should be easy enough to 
make
a module variant for. 

-anil




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.