Metrologic IS1000 Series Podręcznik Użytkownika Strona 134

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 198
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 133
128
CipherLab BASIC Compiler
User's Guide
NCLOSE
Purpose
To close a TCP/IP connection.
Syntax
NCLOSE(N%)
Remarks
"N%" is an integer variable in the range of 0 to 3, indicating the connection number.
Example
NCLOSE (0)
See Also
NREAD$, NWRITE, TCP_ERR_CODE, TCP_OPEN
NREAD$
Purpose
To read data via a TCP/IP connection.
Syntax
A$ = NREAD$(N%)
Remarks
"A$" is a string variable to be assigned to the result.
"N%" is an integer variable in the range of 0 to 3, indicating the connection number.
Example
A$ = NREAD$ (0)
See Also
NCLOSE, NWRITE, OFF TCPIP, ON TCPIP GOSUB…,
SOCKET_HAS_DATA, TCP_ERR_CODE, TCP_OPEN
NWRITE
Purpose
To write data to a TCP/IP connection.
Syntax
NWRITE (N%, A$)
Remarks
"N%" is an integer variable in the range of 0 to 3, indicating the connection number.
"A$" is a string variable, representing the string to be sent to the connection.
Example
NWRITE (0, "Hello")
See Also
NCLOSE, NREAD$, SOCKET_CAN_SEND, TCP_ERR_CODE, TCP_OPEN
SOCKET_CAN_SEND
Purpose
To check if the data can be sent out or not.
Syntax
A% = SOCKET_CAN_SEND(N%, L%)
Przeglądanie stron 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 197 198

Komentarze do niniejszej Instrukcji

Brak uwag