Denso BHT-200QW Especificaciones Pagina 416

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 587
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 415
408
Function #23 .fcSendto
Send message to another UDP socket
Syntax: CALL "SOCKET.FN3" .fcSendto SOCKFD%, SENDBUFF$[()],
SENDLEN%, SENDMODE%, FAMILY%, PORT%, address,
SENDSIZE%
where address is ADDRESS or IPADDRESS$
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
FAMILY% Protocol family
PORT% Port
ADDRESS Local address for connection
IPADDRESS$ Internet address in dotted quad notation
The transmit buffer (SENDBUFF$) can be either a string non-array or
string array variable. The maximum size for a string non-array is 255
bytes; for a string array, 1472.
The transmit mode (SENDMODE%) must be one of the following values:
.soSdNrm
0
Normal
.soSdDnRt
4
Bypass pathway control function
The protocol family (FAMILY%) must be 2, the value indicating the ARPA
Internet protocols.
.soINet
2
ARPA Internet protocols
When specifying the value greater than 32767, describe in hexadecimal
notation.
Example: PORT% = &h8000 ' Specify Port 32768
Return value: SENDSIZE% Number of bytes transmitted
Vista de pagina 415
1 2 ... 411 412 413 414 415 416 417 418 419 420 421 ... 586 587

Comentarios a estos manuales

Sin comentarios