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
相关文章
相关标签/搜索