Description

raw implements an example concurrent request/reply server, using the raw server socket. (The clients are run using multiple cooked sockets.)

To use:

$ go build .
$ url=tcp://127.0.0.1:40899
$ nservers=20
$ nclients=10
$ ./raw server $url $nservers & pid=$! && sleep 1
$ ./raw client $url $nclients
$ kill $pid

main is referenced in 1 repository

github.com/go-mangos/mangos