Socket 学习笔记


1,htonl和ntohl

htonl()--"Host to Network Long"
ntohl()--"Network to Host Long"
htons()--"Host to Network Short"
ntohs()--"Network to Host Short"

你可能感兴趣的:(Socket 学习笔记)