Is there a wrapper for libuv?

James Miller james at aatch.net
Tue Mar 6 17:33:46 PST 2012


On 7 March 2012 13:52, Tyler Jameson Little <beatgammit at gmail.com> wrote:
> I hope this is the right place to ask this.
>
> libuv is the evented IO library that nodejs uses internally. It is basically
> glue for a bunch of other libraries (libev, c-ares, libeio and others).
>
> https://github.com/joyent/libuv
>
> Is there already working on a wrapper? I would very much like to use it,
> because it's cross-platform, but I couldn't find it anywhere (deimos has
> libev and libevent though).
>
> I started a wrapper, but there were a couple of header files that I couldn't
> find:
>
> sys/types.h
> netinet/in.h
>
> Do these already exist?

sys/types is part of the C runtime if I remember correctly, and
netinet/in.h is part of the Unix networking interface.

You shouldn't have to do anything with them, just write bindings for
the api, with all the correct types.

--
James Miller


More information about the Digitalmars-d-learn mailing list