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).
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
public void WaitForAnyData(
ByteBuffer data,
CancellationToken cancelToken
)
Parameters
- data ByteBuffer
- Buffer for outgoing/incomming data.
- cancelToken CancellationToken