Documentation ¶
Overview ¶
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
Click to show internal directories.
Click to hide internal directories.