Update README.

This commit is contained in:
David Baird
2013-12-28 09:49:58 -05:00
parent ce6bfd5482
commit 368682d392
+3 -2
View File
@@ -38,8 +38,9 @@ static pointer create_dummy();
// Function to perform actual network send()/recv() I/O: // Function to perform actual network send()/recv() I/O:
// (note: if all you need is to recv()/dispatch() messages, then timeout can be // (note: if all you need is to recv()/dispatch() messages, then timeout can be
// used to block until a message arrives) // used to block until a message arrives. By default, when timeout is 0, poll()
void poll(int timeout = 0); // will not block at all.)
void poll(int timeout = 0); // timeout in milliseconds
// Receive a message, and pass it to callable(). Really, this just looks at // Receive a message, and pass it to callable(). Really, this just looks at
// a buffer (filled up by poll()) and decodes any messages in the buffer. // a buffer (filled up by poll()) and decodes any messages in the buffer.