Libuv C++ Wrappers

By Kam Low

LibSourcey Logo LibSourcey uses libuv for it’s networking layer as well as for abstracting cross platform capabilities such as shared library loading, filesystem, timers and other various cross-platform helper methods. For anyone looking for libuv C++ wrappers, LibSourcey is a great place to start. The Node.js project is also good since it is really just one big libuv wrapper, but the code is quite complex compared to LibSourcey, and there is more interdependent code within the library which make it hard to find clean examples.

The following modules contain usable examples of libuv wrappers:

Handle
src/net/include/scy/uv/handle.h
Timer
src/net/include/base/net/timer.h
Thread
src/net/include/base/net/thread.h
Asynchronous Context
src/net/include/base/net/async.h
Synchronization Context
src/net/include/base/net/synccontext.h
Idler
src/net/include/base/net/idler.h
Filesystem
src/net/include/base/net/filesystem.h
Shared Library (.so/.dll)
src/net/include/base/net/sharedlibrary.h
Socket
src/net/include/scy/net/socket.h
src/net/include/scy/net/tcpsocket.h
src/net/include/scy/net/sslsocket.h
src/net/include/scy/net/udpsocket.h
DNS
src/net/include/scy/net/network.h
HTTP
src/net/include/scy/http/client.h
src/net/include/scy/http/server.h
Socket IO
src/net/include/scy/socketio/client.h
Symple
src/net/include/scy/symple/client.h
STUN
src/net/include/scy/stun/message.h
TURN
src/net/include/scy/turn/client.h
src/net/include/scy/turn/server.h
comments powered by Disqus

As with all business minded artists, we have fought the inevitable battle of conformity vs expression, and have emerged victorious with sanity intact to plunder the digiverse in search of new and interesting challenges. For more information, or a quote, drop us an email and tell us what you're working on.

©2014 Sourcey