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

浙公网安备 33010602011771号