Metrologic IS1000 Series Betriebsanweisung Seite 135

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 198
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 134
Chapter
5
BASIC
Commands
129
Remarks
"A%" is an integer variable to be assigned to the result.
Value Meaning
0
3000
3004
3007
3012
Normal - data can be sent
Invalid connection number
Connection is closed
Cannot send data
Never run START TCPIP
"N%" is an integer variable in the range of 0 to 3, indicating the connection number.
"L%" is an integer variable, indicating the length of data.
Example
A% = SOCKET_CAN_SEND (0, 10)
See Also
NCLOSE, NWRITE, TCP_ERR_CODE, TCP_OPEN
SOCKET_HAS_DATA
Purpose
To check if the buffer of connection has data or not.
Syntax
A% = SOCKET_HAS_DATA(N%)
Remarks
"A%" is an integer variable to be assigned to the result.
Value Meaning
0
3000
3004
3005
3012
Normal - data in buffer
Invalid connection number
Connection is closed
No data
Never run START TCPIP
"N%" is an integer variable in the range of 0 to 3, indicating the connection number.
Example
A% = SOCKET_HAS_DATA(0)
See Also
NCLOSE, NREAD$, OFF TCPIP, ON TCPIP GOSUB…, TCP_ERR_CODE,
TCP_OPEN
SOCKET_IP$
Purpose
To get network settings.
Syntax
A$ = SOCKET_IP$(port%)
Seitenansicht 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 197 198

Kommentare zu diesen Handbüchern

Keine Kommentare