This project is a wrapper of nng(nanomsg-next-generation) by using JNI for JVM
This project support MacOS. (Not Linux and Windows yet.)
- curl
- cmake
$ git clone --recurse-submodules https://github.com/wooruang/jnng.git
If you have already run the 'clone' command, follow the commands below.
$ git submodule init
$ git submodule update
$ ./gradlew build
$ ./gradlew publish
$ ./gradlew go-server -Purl="{protocol}://{ip}:{port}"
example
$ ./gradlew go-server -Purl="tcp://127.0.0.1:5050"
$ ./gradlew go-client -Purl="{protocol}://{ip}:{port}"
example
$ ./gradlew go-client -Purl="tcp://127.0.0.1:5050"