CommunicatorGetDefaultStartReceiveTimeout Method
Returns maximal time to wait for the first response counted after a request is sent. This method should be used to
compute StartReceiveTimeout and NextReceiveTimeout before every communication id CheckDataReceive is set to true.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
public virtual int GetDefaultStartReceiveTimeout(
int dataLength,
int replyLength
)
- dataLength Int32
- Length of request in bytes.
- replyLength Int32
- Proposed length of response in bytes.
Int32Time in milliseconds to wait before waiting timeout elapses.