애드센스4



clisp weird result 시스템TIP

clisp에서 출력된 이상한 결과.


(posix:gethostid) 에서 나온 8323328 값은 정확한 값이다. (127.0.0.1)

그러나 (rawsock:convert-address) 함수를 이용해 주소로 변환하면 "127.0.0.1"로 안나오고 "0.1.127.0"으로 나온다.
역워드로 출력되는 것이다.

왜일까?

---
흠... 역시 답은 매뉴얼에 다 적혀있다.
이 매뉴얼 왜이리 상세한거야?

http://clisp.cons.org/impnotes/syscalls.html


Warning

On Linux this number appears to be the IPv4 32-bit address with the first 2 bytes and the last 2 bytes swapped


트랙백

이 글과 관련된 글 쓰기 (트랙백 보내기)
TrackbackURL : http://swbae.egloos.com/tb/1956862 [도움말]

덧글

댓글 입력 영역


애드센스7