Denso BHT-200QW Dokumentacja Strona 403

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 587
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 402
1 2 ... 398 399 400 401 402 403 404 405 406 407 408 ... 586 587

Komentarze do niniejszej Instrukcji

Brak uwag