
5. Other useful functions
There are other routines for obtaining additional information or setting control for a
connection.
(1) SOCKET_OPEN, SOCKET_HAS_DATA
To check the connection status by polling method.
(2) SOCKET_IP$
To get the networking configuration and the remote site IP address.
(3) TCPIP_ERR_CODE
To get the operation result after calling any TCPIP routines.
(4) TCPIP event trigger:
ON TCPIP GOSUB… and OFF TCPIP are used to get higher working performance.
Once the TCPIP event occurs, it is necessary for the application program to check
the trigger type by getting the value of the GET_TCPIP_MESSAGE routine.
6. Close a Connection
The NCLOSE routine is used to terminate a particular connection when the application
program does not use it any more.
Comentários a estes Manuais