Skip to content

This project provides with the utilities and library basing on nanomsg

License

Notifications You must be signed in to change notification settings

jiazhang0/nanoio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nanoio
======

This project provides with the utilities and library basing on nanomsg.

Currently, the resulting binaries consist of nanoread, nanowrite, nanoclient,
nanoserver and libnanoio.so.

Build
-----
$ make

Note: use "CROSS_COMPILE=" in command line to specify cross compilation.

Installation
------------
$ sudo make install
$ sudo ldconfig

Example
-------
- Client side
$ echo 'ls -l' | src/nanowrite/nanowrite -q -R ipc:///tmp/cmd-pipe -e 1000 &
$ src/nanoread/nanoread -q -L ipc:///tmp/cmd-output

- Server side
$ cmd=`src/nanoread/nanoread -q -L ipc:///tmp/cmd-pipe`; \
  eval "$cmd" | src/nanowrite/nanowrite -q -R ipc:///tmp/cmd-output -e 1000

About

This project provides with the utilities and library basing on nanomsg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published