command
Version:
v0.0.0-...-a1447dc
Opens a new window with list of versions in this module.
Published: Apr 11, 2015
License: Apache-2.0, MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.