Specifications

436
The storage method (
RECVFLAG%) must be one of the following values:
0 Append data to buffer (default if omitted)
1 Overwrite buffer with data
Note: If
RECVFLAG% is 0 or omitted, the user application program must
initialize the receive buffer string array variable before receiving any data.
Return value:
RECVSIZE% Number of bytes received
Run-time errors:
Error code Meaning
105h
Power-off detected. (BHT-7500S only)
209h
Socket identifier is invalid.
216h
A parameter is invalid.
228h
The maximum number of bytes to receive is too small.
236h
An RST from the opposite end has forced connection.
237h
There is insufficient system area memory.
239h
The specified socket is not connected.
23Ah
The specified TCP socket has been closed.