問題詳情

20.在socket programming屮,要轉換一個16位元的整數到網路位元順序,需要使用下列哪一個函式?
(A) htons()
(B) ntohs()
(C) htonl()
(D) ntohl()

參考答案