Description

reqprep implements a request/reply example. node0 is a listening rep socket, and node1 is a dialing req socket.

To use:

$ go build .
$ url=tcp://127.0.0.1:40899
$ ./reqrep node0 $url & node0=$! && sleep 1
$ ./reqrep node1 $url
$ kill $node0

main is referenced in 1 repository

github.com/go-mangos/mangos