Chapter 18. TCP/IP
489
Syntax:
CALL
"SOCKET.FN3"
.fcClose
SOCKFD%
Description:
This function closes the specified socket identifier.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API close() function.
Parameters:
SOCKFD%
Socket identifier
Return value:
(None)
Run-time errors:
.fcClose
Close socket
Error code
Meaning
105h
Power-off detected
106h
An internal error has occurred in the TCP/IP module during data
transmission.
107h
The TCP/IP module has not been initiated.
108h
The memory for the TCP/IP module has became insufficient dur-
ing data transmission.
209h
Socket identifier is invalid.
225h
The last close operation for the specified socket is not complete.
23Ah
The specified TCP socket has been closed.
23Ch
The connection attempt has timed out.
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...