Denso Power Net Terminal BHT-7500 Spezifikationen Seite 453

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 560
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 452
444
Syntax:
CALL "SOCKET.FN3" 23 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 or string array
variable. The maximum size for a string is 255 bytes; for a string array,
1472.
The transmit mode (
SENDMODE%) must be one of the following values:
0Normal
1 Out of band data
4 Bypass pathway control function
The protocol family (
FAMILY%) must be 2, the value indicating the ARPA
Internet protocols.
Return value:
SENDSIZE% Number of bytes transmitted
Run-time errors:
Function #23: Send message to another UDP socket
Error code Meaning
105h
Power-off detected. (BHT-7500S only)
209h
Socket identifier is invalid.
228h
The maximum number of bytes to receive is too small.
229h
TCP is the wrong protocol here.
237h
There is insufficient system area memory.
241h
There is no connection pathway to the host.
Seitenansicht 452
1 2 ... 448 449 450 451 452 453 454 455 456 457 458 ... 559 560

Kommentare zu diesen Handbüchern

Keine Kommentare