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

Re: Net.Manager

On 27 Mar 2013, at 11:25, Vincent Bernardoff <vb@xxxxxxxxxxxxxx> wrote:

> On 27/03/2013 11:22, Vincent Bernardoff wrote:
>> For your work, the best would probably to create an ocaml library (like
>> ocaml-tuntap) but devoted to attach real network interfaces (using your
>> code for Mac and raw ethernet socket for Linux -- which I could do).
>> Cheers,
>> Vincent
> I mean, I could create this library if you need the functionality for Linux 
> (it would not be much work normally). It was just very confusing to mix the 
> TAP things with the frame sniffing things in the same file with nearly 
> identical names (plug vs attach).

Yeah, separating these concerns definitely makes sense.  It's also a 
portability maze, so small libraries make it easier to put the platform-hacks 




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