Specifications
Chapter 18. TCP/IP
493
Syntax:
CALL "SOCKET.FN3" .fcTDiscnn INTERFACE%
Description: This function disconnects the specified TCP/IP communications pathway.
Parameters:
INTERFACE% Communications pathway
Return value: (None)
Run-time errors:
Syntax:
CALL "SOCKET.FN3" .fcTSysGet PARA%, data
where data is DATA% or DATA$
Description: This function gets the current setting for the specified TCP/IP system set-
tings.
Parameters:
PARA% Item number
Return value:
data Current setting for TCP/IP system settings (DATA%/
DATA$
)
Correspondence tables:
.fcTDiscnn Disconnect TCP/IP communications pathway
Error code Meaning
104h
Communications pathway already disconnected
105h
Power-off detected
216h
A parameter is invalid.
503h
The CU has been linked with any other BHT.
504h
LAN-support CU setting being made.
505h
Timeout
.fcTSysGet Get TCP/IP system settings
Item number (PARA%) Description Values for Setting (DATA%)
.soDvGet 100 Communications device .soDvCOM1 0COM1
.soDvCOM3 2COM3
.soLyGet 200 Link layer .soLyEther 2 Ethernet
Item number (PARA%) Description Values for Setting (DATA$)
.soPmIPAdr 1 IP address Character string in dotted quad notation,
maximum 15 bytes
.soPmNtMsk 2 Subnet mask Character string in dotted quad notation,
maximum 15 bytes
.soPmDGWay 3 Default gateway Character string in dotted quad notation,
maximum 15 bytes