CALL "C$SOCKET" USING CSOCKET-EMPTY socketHandle length GIVING return-code |
CSOCKET-EMPTY | Constant | |
socketHandle | USAGE HANDLE | Identifies the socket to be emptied. |
length | PIC 9(n) | Number of bytes to be thrown away. |
<0 | Operation failed. |
>0 | Number of skipped bytes. |