Denso BHT-200QW Dokumentacja Strona 414

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 587
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 413
406
Function #22 .fcSend
Send message to another TCP socket
Syntax: CALL "SOCKET.FN3" .fcSend SOCKFD%, SENDBUFF$[()],
SENDLEN%,
SENDMODE%, SENDSIZE%
Description:
This function transmits data from the specified buffer to the IP address
and port number connected to the specified socket identifier.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API sendto() function.
Parameters: SOCKFD% Socket identifier
SENDBUFF$[()] Transmit buffer
SENDLEN% Number of bytes to transmit
SENDMODE% Transmit mode
The transmit buffer (SENDBUFF$) can be either a string non-array or
string array variable. The maximum size for a string is 255 bytes; for a
string array, 4096.
The transmit mode (SENDMODE%) must be one of the following values:
.soSdNrm
0
Normal
.soSdOOB
1
Out of band data
.soSdDnRt
4
Bypass pathway control function
Return value: SENDSIZE% Number of bytes transmitted
Przeglądanie stron 413
1 2 ... 409 410 411 412 413 414 415 416 417 418 419 ... 586 587

Komentarze do niniejszej Instrukcji

Brak uwag