CommunicatorWaitForByte(ByteBuffer, Byte, CancellationToken) Method
Sends the content of data argument and waits until specified byte is received. Incomming data are returned in the data argument.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
public void WaitForByte(
ByteBuffer data,
byte value,
CancellationToken cancelToken
)
Parameters
- data ByteBuffer
- Buffer for outgoing/incomming data.
- value Byte
-
- cancelToken CancellationToken