Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loki-astari/thorsstream
C++ Socket Stream
https://github.com/loki-astari/thorsstream
Last synced: about 1 month ago
JSON representation
C++ Socket Stream
- Host: GitHub
- URL: https://github.com/loki-astari/thorsstream
- Owner: Loki-Astari
- License: other
- Created: 2015-06-14T06:35:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-07-19T08:17:20.000Z (over 3 years ago)
- Last Synced: 2024-10-02T18:21:12.292Z (about 2 months ago)
- Language: HTML
- Size: 1.03 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/Loki-Astari/ThorsStream.svg?branch=master)](https://travis-ci.org/Loki-Astari/ThorsStream)
[![codecov.io](http://codecov.io/github/Loki-Astari/ThorsStream/coverage.svg?branch=master)](http://codecov.io/github/Loki-Astari/ThorsStream?branch=master)
[![Code Review](http://www.zomis.net/codereview/shield/?qid=38455)](http://codereview.stackexchange.com/q/38455/507)
[![Code Review](http://www.zomis.net/codereview/shield/?qid=38402)](http://codereview.stackexchange.com/q/38402/507)![ThorStream](img/stream.jpg)
An socket library that treats a socket like a regular io-stream.
* [Simple Example](doc/example1.md)
* [Bigger Example](doc/example2.md)
* [Building](doc/building.md)
* [Documentation Usage](doc/usage.md)
* [Documentation Internal](https://lokiastari.com/ThorsStream/)### Testing
When building this library it will automatically run the unit tests. The unit test require that the files in "src/SocketStream/test/data/" can be retireved via http requests. If you have have a web server up and running this is simple just link the directory to your web root. If you don't have one installed the easiest way is to use npm to install a simple http-server:
> sudo apt-get install npm -y
> npm install -g http-server
> http-server src/SocketStream/test/data/ &
> export THOR_STREAM_TEST_PORT=8080> make