Tries to send bytes to the other side.
duration is how long to try for
recvBlocking controls whether or not to block on reception of a response.
This only matters when the protocol is request/response
Returns the response if in request mode, otherwise an empty byte slice.
Tries to send bytes to the other side. duration is how long to try for recvBlocking controls whether or not to block on reception of a response. This only matters when the protocol is request/response Returns the response if in request mode, otherwise an empty byte slice.