Dart SecureTcp, SecureServer Controls
Receive Event
Description
Fires when ReceiveBufferCount changes.
Syntax
Visual Basic
Public Event Receive()
Remarks

WARNING Timeout must be 0 when calling methods from within an event. Failure to observe this rule may cause reentrancy problems and unpredictable results.

The Receive, Fill, and Search methods are used to receive data. By putting one of these methods in the body of this event, you can optimize the processing speed of your application without blocking (waiting for data to arrive) or polling (continually checking for available data).

You can allow data to build up in the system buffers by not accessing the data. In this case, the system will eventually drop packets and communications will slow. This is called back pressure, and is the application-level mechanism that the receiving side of a connection can use to slow down a data transfer.

The Receive method, Fill method, or Search method must be called to enable this event to fire more than once. Normally, you will do this by placing code within the body of this event.

See Also

SecureTcp Object  | SecureTcp Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic