pair

command
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

pair implements a pair example. node0 is a listening pair socket, and node1 is a dialing pair socket.

To use:

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

Jump to

Keyboard shortcuts

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