Denso Power Net Terminal BHT-7500 Especificaciones Pagina 443

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 560
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 442
434
Syntax:
CALL "SOCKET.FN3" 7 HOSTLONG, NETLONG
Description: This function converts a (4-byte) long from host byte order to network byte
order.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API htonl() function.
Parameters:
HOSTLONG Long in host byte order
Return value:
NETLONG Long in network byte order
Syntax:
CALL "SOCKET.FN3" 8 HOSTSHORT%, NETSHORT%
Description: This function converts a (2-byte) short from host byte order to network byte
order.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API htons() function.
Parameters:
HOSTSHORT% Short in host byte order
Return value:
NETSHORT% Short in network byte order
Syntax: CALL "SOCKET.FN3" 9 IPADDRESS$, ADDRESS
Description: This function converts an Internet address in dotted quad notation to a 4-
byte Internet address.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API inet_addr() function.
Parameters:
IPADDRESS$ Internet address in dotted quad notation
Return value:
ADDRESS 4-byte Internet address
Function #7: Convert host long (4 bytes) to network byte order
Function #8: Convert host short (2 bytes) to network byte order
Function #9:
Convert Internet address from dotted quad notation to 32-bit integer
Vista de pagina 442
1 2 ... 438 439 440 441 442 443 444 445 446 447 448 ... 559 560

Comentarios a estos manuales

Sin comentarios