diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-10-26 20:09:02 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-10-26 20:09:02 -0700 |
commit | 69e3a609a1b3accd1b030cfbafed8e14cfdcda57 (patch) | |
tree | be5944c0631ea6ef3855bfa80370ba69111489ab /src/bin | |
parent | ffd90794391678a25d794ed10c50c7e376cadb04 (diff) | |
download | geniza-69e3a609a1b3accd1b030cfbafed8e14cfdcda57.tar.gz geniza-69e3a609a1b3accd1b030cfbafed8e14cfdcda57.zip |
network progress
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/geniza-net.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/geniza-net.rs b/src/bin/geniza-net.rs index 1f369ab..b9a4872 100644 --- a/src/bin/geniza-net.rs +++ b/src/bin/geniza-net.rs @@ -65,8 +65,9 @@ fn run() -> Result<()> { host_port, &key_bytes, false)?; - dc.receive_all(false)?; - dc.receive_all(true)?; + // XXX: number here totally arbitrary + dc.receive_all(false, 10)?; + dc.receive_all(true, 10)?; println!("Done!"); }, _ => { |