Update README.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user