CommunicatorWaitForAnyData Method

Sends content of data argument and waits until some data are received. Incomming data are returned in the data argument. This procedure is useful when data are sent/received in whole packets (e.g. HTTP).

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public void WaitForAnyData(
	ByteBuffer data,
	CancellationToken cancelToken
)

Parameters

data  ByteBuffer
Buffer for outgoing/incomming data.
cancelToken  CancellationToken

See Also