User`s guide
132
CipherLab BASIC Compiler
User's Guide
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-30
-31
-32
-33
Undefined local port in server mode
Undefined remote port in client mode
Connection is closed.
No data received in buffer
Data too long
Networking is busy or data is too long.
Data transmission error
Hardware initialization failure
START TCPIP has already been running. May need STOP TCPIP.
All connections are unavailable.
Never run START TCPIP
Parameter error
Host is not reachable.
Time out
Hardware failure
Protocol error
No buffer space
Invalid connection block
Invalid pointer argument
Operation would block.
Message too long
Protocol unavailable
Unknown remote name
DNS protocol error (package class)
DNS protocol error (package type)
Remote name too long (more than 38 characters)
Example
ERR% = TCP_ERR_CODE
See Also
DNS_RESOLVER, GET_NET_STATUS, GET_WLAN_STATUS, IP_CFG,
NCLOSE, NREAD$, NWRITE, OFF TCPIP, ON TCPIP GOSUB…,
SOCKET_CAN_SEND, SOCKET_HAS_DATA, SOCKET_IP$,
SOCKET_OPEN, START TCPIP, TCP_OPEN, SET_NET_PARAMETER
TCP_OPEN
Purpose
To open a connection via TCP/IP protocol.
Syntax
TCP_OPEN(N%, IP$, RP%, LP%, {Protocol%}, {Delimiter%})