
442
Syntax:
CALL "SOCKET.FN3" 19 SOCKFD%, SOCKFDSET$
Description: This function adds the specified socket identifier to the specified identifier
set.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API FD_SET macro.
Parameters:
SOCKFD% Socket identifier
SOCKFDSET$ Socket identifier set
Return value: (None)
Syntax:
CALL "SOCKET.FN3" 20 SOCKFD%, SOCKFDSET$
Description: This function deletes the specified socket identifier from the specified iden-
tifier set.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API FD_CLR macro.
Parameters:
SOCKFD% Socket identifier
SOCKFDSET$ Socket identifier set
Return value: (None)
Syntax:
CALL "SOCKET.FN3" 21 SOCKFD%, SOCKFDSET$, FDISSET%
Description: This function gets the status of the specified socket identifier in the speci-
fied socket identifier set.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API FD_ISSET macro.
Parameters:
SOCKFD% Socket identifier
SOCKFDSET$ Socket identifier set
Return value: FDISSET% Socket identifier status
The socket identifier status (FDISSET%) has the following values:
0 No change
1 Change in status
Function #19: Add socket identifier to socket identifier set
Function #20: Delete socket identifier from socket identifier set
Function #21: Get socket identifier status from socket identifier set
Komentarze do niniejszej Instrukcji