From 69e3a609a1b3accd1b030cfbafed8e14cfdcda57 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 26 Oct 2017 20:09:02 -0700 Subject: network progress --- src/bin/geniza-net.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/bin') 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!"); }, _ => { -- cgit v1.2.3