Skip to content

Commit 368682d

Browse files
committed
Update README.
1 parent ce6bfd5 commit 368682d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ static pointer create_dummy();
3838

3939
// Function to perform actual network send()/recv() I/O:
4040
// (note: if all you need is to recv()/dispatch() messages, then timeout can be
41-
// used to block until a message arrives)
42-
void poll(int timeout = 0);
41+
// used to block until a message arrives. By default, when timeout is 0, poll()
42+
// will not block at all.)
43+
void poll(int timeout = 0); // timeout in milliseconds
4344

4445
// Receive a message, and pass it to callable(). Really, this just looks at
4546
// a buffer (filled up by poll()) and decodes any messages in the buffer.

0 commit comments

Comments
 (0)