Skip to content

Commit

Permalink
Add another blocking accept
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Oct 9, 2023
1 parent 5517074 commit f8ee3f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn test_sample_application(family: IpAddressFamily, bind_address: IpSocketAddres
}

{
let (_accepted, input, _output) = listener.accept().unwrap();
let (_accepted, input, _output) = listener.blocking_accept().unwrap();
let data = input.blocking_read(second_message.len() as u64).unwrap();

// Check that we sent and recieved our message!
Expand Down

0 comments on commit f8ee3f7

Please sign in to comment.