Try OpenEdge Now
Programming Interfaces
External Program Interfaces
:
Sockets
:
Read, writing, and managing sockets on clients and servers
:
Reading data on a socket
:
Verifying the number of bytes actually read
Verifying the number of bytes actually read
You can verify the number of bytes actually read by the
READ( )
method. The number of bytes read by the last
READ( )
method invoked on a socket object is equal to the value of the
BYTES-READ
attribute invoked on the same socket object.