
4020
4021
4022
4023
4040
4041
4042
4043
4060
4061
4062
4063
4080
Connection #0 is connected
Connection #1 is connected
Connection #2 is connected
Connection #3 is connected
Connection #0 is disconnected
Connection #1 is disconnected
Connection #2 is disconnected
Connection #3 is disconnected
Connection #0: data is coming
Connection #1: data is coming
Connection #2: data is coming
Connection #3: data is coming
IP is ready
Example
ON TCPIP GOSUB TCPIP_Trigger
...
TCPIP_Trigger:
MSG% = GET_TCPIP_MESSAGE
...
See Also
OFF TCPIP, ON TCPIP GOSUB…, TCP_OPEN
IP_CFG or IP_CONFIGURE
Purpose
To configure the TCP/IP setting.
Syntax
IP_CFG(index%, IP$) or IP_CONFIGURE(index%, IP$)
Remarks This command is to be replaced by SET_NET_PARAMETER.
Note that it is not necessary to configure the setting every time.
"index%" is an integer variable, indicating a specific configuration item.
"IP$" is a string variable indicating the IP address that is to be configured.
Example
IP_CFG (1, "192.168.1.241")
IP_CFG (2, "255.255.255.0")
IP_CFG (3, "192.168.1.250")
IP_CFG (4, "168.95.1.1")
' set local IP
' set IP of subnet mask
' set IP of default gateway
' set IP of DNS server
See Also
SET_NET_PARAMETER, TCP_ERR_CODE
Kommentare zu diesen Handbüchern