Skip to content

Commit

Permalink
readme example should use a forever blocking receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-armstrong committed Dec 27, 2016
1 parent 86d5a3c commit 89b66a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ This sets up our transmitter and receiver using the packaged configuration. We c

On one side we might run
```
// set receiver to block for at most 1 second
// set receiver to block until a frame is received
// by default receivers are nonblocking
receiver.setBlocking(1, 0);
receiver.setBlocking(0, 0);
byte[] buf = new byte[1024];
long recvLen = 0;
Expand Down

0 comments on commit 89b66a6

Please sign in to comment.