[ Version ( deprecated = true , deprecated_since = "1.18" ) ]
public Result receive (Message message, TimeVal timeout)
Warning: receive is deprecated since 1.18.
Attempt to read into message
from the connected this, blocking up to the specified
timeout
.
timeout
can be null
, in which case this function might block forever.
This function can be cancelled with flush.
this | |
message |
the message to read |
timeout |
a timeout value or |
OK on success. |