
Chapter 17. TCP/IP
403
Function #18 .fcFDZERO
Initialize socket identifier set
Syntax: CALL "SOCKET.FN3" .fcFDZERO SOCKFDSET$
Description:
This function initializes the specified socket identifier set.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API FD_ZERO macro.
Parameters: SOCKFDSET$ Socket identifier set
Return value: (None)
Function #19 .fcFDSET
Add socket identifier to socket identifier set
Syntax: CALL "SOCKET.FN3" .fcFDSET 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)
Function #20 .fcFDCLR
Delete socket identifier from socket identifier set
Syntax: CALL "SOCKET.FN3" .fcFDCLR SOCKFD%, SOCKFDSET$
Description:
This function deletes the specified socket identifier from the specified
identifier set.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API FD_CLR macro.
Comentarios a estos manuales