CommunicatorWaitForByte(ByteBuffer, Byte, CancellationToken) Method

Sends the content of data argument and waits until any byte from byteSet array is received. Incomming data are returned in the data argument.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public void WaitForByte(
	ByteBuffer data,
	byte[] byteSet,
	CancellationToken cancelToken
)

Parameters

data  ByteBuffer
Buffer for outgoing/incomming data.
byteSet  Byte
 
cancelToken  CancellationToken

See Also