Denso BHT-200QW Specifiche Pagina 403

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 587
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 402
Chapter 17. TCP/IP
395
Function #11 .fcNToHL
Convert network long (4 bytes) to host byte order
Syntax: CALL "SOCKET.FN3" .fcNToHL NETLONG, HOSTLONG
Description:
This function converts a (4-byte) long from network byte to host byte
order.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API ntohl() function.
Parameters: NETLONG Long in network byte order
Return value: HOSTLONG Long in host byte order
Function #12 .fcNToHS
Convert network short (2 bytes) to host byte order
Syntax: CALL "SOCKET.FN3" .fcNToHS NETSHORT%, HOSTSHORT%
Description:
This function converts a (2-byte) short from network byte order to host
byte order.
BSD4.4 socket API equivalent: This function is equivalent to the BSD4.4
socket API ntohs() function.
Parameters: NETSHORT% Short in network byte order
Return value: HOSTSHORT% Short in host byte order
Vedere la pagina 402
1 2 ... 398 399 400 401 402 403 404 405 406 407 408 ... 586 587

Commenti su questo manuale

Nessun commento