move Dial* to dial.go

License: MIT
Signed-off-by: Juan Benet <juan@benet.ai>
implement dialer + tests

License: MIT
Signed-off-by: Juan Benet <juan@benet.ai>
ucat implementation

This commit adds a ucat tool to exercise the protocol.
It will be useful to write tests that transfer GB of data.

License: MIT
Signed-off-by: Juan Benet <juan@benet.ai>
log bytes transferred + laddr fix

License: MIT
Signed-off-by: Juan Benet <juan@benet.ai>
test simple

test simple is a shell test for ucat. It pipes data:

  random -> file1 -> sender -> receiver -> file2

and then diffs file1 and file2 to make sure they're the same.
Note: it severely slows down at ~70MB. I've yet to see 1GB
finish...

License: MIT
Signed-off-by: Juan Benet <juan@benet.ai>
better make targets

License: MIT
Signed-off-by: Juan Benet <juan@benet.ai>
Merge pull request #3 from jbenet/master

Dialer and ucat