linux網絡編程-TCP socket編程模型

1. 編程模型   三次握手 + 四次揮手   2.主要函數說明 字節序轉換函數: #include <arpa/inet.h> uint32_t htonl(uint32_t hostlong); uint16_t htons(uint16_t hostshort); uint32_t ntohl(uint32_t netlong); uint16_t ntohs(uint16_t netsho
相關文章
相關標籤/搜索