We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce6bfd5 commit 368682dCopy full SHA for 368682d
README.md
@@ -38,8 +38,9 @@ static pointer create_dummy();
38
39
// Function to perform actual network send()/recv() I/O:
40
// (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);
+// used to block until a message arrives. By default, when timeout is 0, poll()
+// will not block at all.)
43
+void poll(int timeout = 0); // timeout in milliseconds
44
45
// Receive a message, and pass it to callable(). Really, this just looks at
46
// a buffer (filled up by poll()) and decodes any messages in the buffer.
0 commit comments