Code Monkey home page Code Monkey logo

libtv's Introduction

libtv

Overview

libtv is a wrapper library of libuv to solve the problem when embedding libuv into existing products, like multi-thread calling, transport, and so on.

Feature highlights

  • Support multi-thread calling.
  • Support IPv6 dual stack.
  • Abstraction of TCP, SSL, WebSocket.

Build Instructions

Required tools and Dependencies

  • Python v2.6 or 2.7
    Required if you want to build with gyp.
  • OpenSSL v1.0.1 or later
    Required if you want to use {SSL, WSS} transport. If your operating system is Windows, download binary distributions from https://www.openssl.org/community/binaries.html and install it.

Build with autotools

$ ./bootstrap
$ ./configure [--with-ssl=/path/to/OpenSSL]
$ make clean all

Build with gyp

Windows(Visual Studio)

$ configure.py [-Dtarget_arch=[ia32,x64]] [-Denable_shared] [-Druntime_library=[md,mt]] [-Dwith_ssl=/path/to/OpenSSL]

Launch tv.sln or call msbuild like below

$ msbuild tv.sln /p:Configuration=[Debug/Release]

xNix

$ ./configure.py [-Denable_shared] [-Dwith_ssl=/path/to/OpenSSL]
$ cd out
$ make BUILDTYPE=[Debug/Release]

License

The MIT License (MIT)
See LICENSE for details.

And see some submodule LICENSEs(exist at deps dir).

libtv's People

Contributors

masayukiimanishi001 avatar noriokobota avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.