Metrologic IS1000 Series Guía de usuario Pagina 132

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 198
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 131
126
CipherLab BASIC Compiler
User's Guide
TCP/IP Networking
Here are the BASIC functions and statements relating to TCP/IP networking.
Commands for triggering the TCPIP event: OFF TCPIP, ON TCPIP GOSUB...
DNS_RESOLVER
Purpose
To get the IP address of the remote device.
Syntax
IP$ = DNS_RESOLVER(A$)
Remarks
Note that it is necessary to define the DNS server IP before executing this
command.
"IP$" is a string variable to be assigned to the result.
"A$" is a string variable, indicating a specific domain name.
Example
GetIP$ = DNS_RESOLVER ("www.yahoo.com")
See Also
TCP_ERR_CODE
GET_TCPIP_MESSAGE
Purpose
To get the message of TCPIP event trigger.
Syntax
A% = GET_TCPIP_MESSAGE
Remarks
This command can also be called in normal program to detect the TCP/IP status by
polling method. Once it is fetched, the message will be cleared by the system.
When entering TCPIP event trigger, the first thing is to call this routine so that the
trigger message will be cleared out.
"A%" is an integer variable to be assigned to the result.
Value Meaning
4000
4001
4002
4003
4014
4015
Connection #0 overflow
Connection #1 overflow
Connection #2 overflow
Connection #3 overflow
Networking initialization error
Port initialization error
Vista de pagina 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 197 198

Comentarios a estos manuales

Sin comentarios