Specifications

446
Syntax:
CALL "SOCKET.FN3" 25 SOCKFD%, HOWTO%
Description: This function shuts down socket transfers in the specified direction.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API shutdown() function.
Parameters:
SOCKFD% Socket identifier
HOWTO% Direction specification
The direction specification (HOWTO%) must be one of the following values:
0 Receive
1Transmit
2Both
Return value: (None)
Run-time errors:
Function #25: Shut down socket
Error code Meaning
105h
Power-off detected. (BHT-7500S only)
209h
Socket identifier is invalid.
216h
A parameter is invalid.
22Ah
This option is not recognized at the specification level.