Data detection using the procedural model
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
To detect data procedurally, you can simply read whatever
data is available on the socket object using the READ( ) method.
Using this model, you do not use the READ-RESPONSE event,
and ABL does not automatically notify your application when data
is available to read on the socket. You can also check:
- To see if the socket is connected using the
CONNECTED( )method - To see how many bytes are available to read, using the
GET-BYTES-AVAILABLE( )method
How you use these methods depends on your application requirements
and the options that you choose on the READ( ) method.
For more information on READ( ) method
options, see Reading data on a socket.