NetIPC 3000/XL Programmer's Reference Manual (5958-8600)

Table Of Contents
Chapter 3 125
NetIPC Intrinsics
READOPT
result
(output)
16-bit integer, by reference. The error code
returned; zero if no error.
Description
If the data field is not large enough, then as much data as the user
asked for will be returned and SOCKERR 173 will be returned
indicating more data is available. A second call to READOPT could get
all the data.