IO复用之poll
摘要:
主要用一个例程来讲解poll,包含客户端和服务器端。 poll函数没有FD_SETSIZE的限制 int poll(struct pollfd * fdarray, unsigned long nfds, int timeout) 客户端程序: 服务器端程序: Makefile文件 .PHONY:c 阅读全文
posted @ 2018-01-04 21:24 wsw_seu 阅读(470) 评论(0) 推荐(0)
posted @ 2018-01-04 21:24 wsw_seu 阅读(470) 评论(0) 推荐(0)