摘要:
1、五种IO模型 2、select int select(int maxfdp1, fd_set *restrict readfds, fd_set *restrict writefds, fd_set *restrict exeptfds, struct timeval *restrict tim 阅读全文
摘要:
1、线程函数遇到错误时不设置unix标准errno值,而是作为函数返回值返回给调用者 2、MTU = MSS + IP头(20) + TCP头(20) 3、套接字地址结构: 通用套接字地址结构 struct sockaddr{ unit8_t sa_len; sa_family_t sa_famil 阅读全文