raw

command
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL